joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f108
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x46f12e
mov eax, esp
push eax
push 0x46f0d0
call sub.user32.dll_EnumWindows
jmp 0x46f141
mov eax, esp
push eax
push 0x46f0b0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x46f1d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x46f228]
test si, 4
je 0x46f1e9
or bl, 1
test si, 8
je 0x46f1f3
or bl, 4
test si, 1
je 0x46f1fd
or bl, 8
test si, 2
je 0x46f207
or bl, 0x10
test si, 0x10
je 0x46f211
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46f220
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46f22c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x46f268]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46f246
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46f255
or bl, 4
test esi, 0x20000000
je 0x46f260
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46f2b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0046f26c
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x477310
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x477322
add esp, 0xfffffff0
call fcn.00404344
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00428378
mov eax, dword [0x546f9c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4776b4
mov eax, dword [0x546fb4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4776c0
mov eax, ebx
call fcn.004776cc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.00403fb0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.00403fb0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.00403fb0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.00403fb0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.00403fb0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x472b58
push eax
push 0
push 0
mov eax, dword [0x5472b8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42dcd4]
call fcn.0042f5ec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42dcd4]
call fcn.0042f5ec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42dcd4]
call fcn.0042f5ec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00477bd4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x477a5c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x477a5c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x477a5c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47745f
call fcn.0040439c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x477840
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4779eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4779cc
mov dl, 1
mov eax, dword [0x41c604]
call fcn.00403fb0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404f44
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4779bb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00468bc0
test al, al
je 0x4779ae
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4779fc
lea eax, [ebp - 0x254]
call fcn.0040b898
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4779ae
xor eax, eax
push ebp
push 0x4779a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x477a34
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x477990
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051b4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x477990
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4779ae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4778b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004215ec
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4779f2
lea eax, [ebp - 0x260]
call fcn.00404f44
ret

Function at 0x4783ac
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x54ccdc]
cmp byte [eax + 0xad], 0
jne 0x47841d
cmp dword [0x54ccf8], 0
jne 0x4783de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x478368
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x54ccf8], eax
cmp dword [0x54ccf4], 0
jne 0x4783f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x54ccf4], eax
cmp dword [0x54ccfc], 0
jne 0x47841d
push esp
push 0
push 0
push 0x47830c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x54ccfc], eax
pop edx
ret
Function at 0x478620
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x478637
add esp, 0xfffffff0
call fcn.00404344
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00428378
mov eax, dword [0x54728c]
cmp word [eax + 2], 0
jne 0x47865f
mov eax, dword [0x54728c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047a380
mov eax, dword [0x547428]
cmp word [eax + 2], 0
jne 0x478679
mov eax, dword [0x547428]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047a58c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.00403fb0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.00403fb0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41bf98]
call fcn.00403fb0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42e884]
call fcn.00436fe8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x478830
mov eax, dword [0x54708c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004373bc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47ac80
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x54708c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f8ac
test eax, eax
je 0x478780
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040aea0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f8e0
test eax, eax
je 0x478794
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004051b4
mov byte [ebx + 0xd4], 0
push ebx
push 0x479df4
call fcn.004294f4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x546dc0]
cmp byte [eax], 0
jne 0x4787e5
mov eax, ebx
call fcn.00478974
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0047ae94
mov eax, ebx
call fcn.0047b9f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x478825
call fcn.0040439c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478bf4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x478c93
cmp dword [ebx + 0x94], 0
jne 0x478c8d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x478b7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x478c8d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x478c53
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x478c8d
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e910
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x478c62
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x478eac
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x54ccdc]
cmp dword [eax + 0x30], 0
je 0x479009
test bl, bl
jne 0x478f5a
cmp dword [esi + 0x9c], 0
jne 0x478f4f
mov eax, esi
call fcn.0047b874
push eax
push 0x478dd8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x478f20
mov eax, dword [0x54ccdc]
call fcn.0047bf54
test al, al
je 0x478f20
mov eax, dword [0x54cd00]
call fcn.00406288
mov edi, eax
cmp edi, 0
jl 0x478f20
push 0
mov eax, dword [0x54cd00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x478f0a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x478f4f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e910
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x478f2f
inc dword [esi + 0x9c]
jmp 0x479009
cmp dword [esi + 0x9c], 0
jle 0x479009
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x479009
cmp dword [esi + 0x44], 0
je 0x478fb5
mov eax, dword [0x54ccdc]
call fcn.0047bf54
test al, al
je 0x478fb5
mov eax, dword [0x54cd00]
call fcn.00406288
mov edi, eax
cmp edi, 0
jl 0x478fb5
push 5
mov eax, dword [0x54cd00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x478f9f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x478fe4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e910
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x478fc4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x54cd00
mov ecx, 1
mov edx, dword [0x478db8]
call fcn.0040643c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x479af0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x479b5a
mov eax, ebx
call fcn.0047bf54
test al, al
jne 0x479b5a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405034
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x479b47
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x479b67
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404f98
jmp 0x479b67
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404f98
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x47b078
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47b0e6
mov eax, esi
call fcn.00463764
test al, al
je 0x47b0e6
mov eax, dword [ebx + 0x84]
call fcn.004633c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47b0e6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47b0da
push 0
mov eax, dword [ebx + 0x84]
call fcn.004633c4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0045b154
jmp 0x47b0e6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0047aeb4
pop esi
pop ebx
ret

Function at 0x4919c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00430840
cmp ebx, dword [ebp - 8]
jge 0x491a27
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00430c54
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00430c54
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00430c80
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4919ed
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x491a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00430840
cmp ebx, dword [ebp - 8]
jge 0x491a93
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00430c54
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00430c54
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00430c80
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x491a59
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x496444
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408314]
call fcn.00405a14
xor eax, eax
push ebp
push 0x4965e5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53ced8], 0
jne 0x49649f
mov ecx, dword [0x546dec]
mov dl, 1
mov eax, dword [0x4089f8]
call fcn.0040e920
call fcn.00404894
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004038dc
mov eax, ebx
call fcn.004058c4
mov dword [ebp - 0x24], eax
mov esi, 0x4965f4
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406c74
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004058d4
test eax, eax
jle 0x496588
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x496574
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004051b4
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x49651a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004051cc
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x496530
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004051cc
mov eax, dword [ebp - 0x54]
call fcn.004053d4
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004051b4
mov eax, dword [ebp - 0x58]
call fcn.004053d4
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x496576
xor eax, eax
test al, al
je 0x496581
mov ebx, 0x15
jmp 0x49658d
mov ebx, 0x10
jmp 0x49658d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x53ced8]
call fcn.004962c4
mov eax, dword [ebp - 4]
call fcn.004962c4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406c8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4965ec
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404f68
lea eax, [ebp - 0xc]
mov edx, dword [0x408314]
call fcn.00405ae4
ret
Function at 0x49bfd8
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x49c072
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x49bff7
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x49c088
dec edx
je 0x49c0bd
jmp 0x49c10e
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x49c10e
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49c180
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x49c19f
add edx, 3
sar edx, 2
test edx, edx
jle 0x49c2ad
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0x49c1d4
je 0x49c217
sub ecx, 0x2b
je 0x49c20d
sub ecx, 4
je 0x49c212
dec ecx
sub ecx, 0xa
jb 0x49c1ff
jmp 0x49c21a
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x49c1e6
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x49c1f1
jmp 0x49c21a
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x49c21a
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x49c21a
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x49c21a
mov byte [eax], 0x3e
jmp 0x49c21a
mov byte [eax], 0x3f
jmp 0x49c21a
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x49c1b7
movzx eax, byte [esp + 4]
add eax, eax
add eax, eax
movzx edx, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
movzx edx, byte [esp + 6]
cmp dl, 0xff
je 0x49c26b
cmp byte [esp + 7], 0xff
jne 0x49c26b
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x49c2a2
cmp dl, 0xff
je 0x49c2a2
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x49c1ae
add esp, 0x10
pop ebp
pop edi
pop esi
ret