joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4768c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040a3c4
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00470974
test ebx, ebx
jne 0x476913
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0047673c
mov ebx, eax
test ebx, ebx
je 0x476a09
cmp esi, ebx
je 0x47693c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x476951
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x476989
add eax, 0xffffff5f
sub eax, 2
jb 0x4769a1
dec eax
sub eax, 2
jb 0x4769b5
dec eax
sub eax, 2
jb 0x4769ab
jmp 0x4769bf
add eax, 0xfffffdff
sub eax, 2
jb 0x4769a1
dec eax
sub eax, 2
jb 0x4769b5
dec eax
sub eax, 2
jb 0x4769ab
jmp 0x4769bf
mov byte [esp + 0x120], 0
jmp 0x4769c7
mov byte [esp + 0x120], 2
jmp 0x4769c7
mov byte [esp + 0x120], 1
jmp 0x4769c7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00494798
mov esi, eax
call fcn.0046d264
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00472324
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x476a0b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4942a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4942c1
test edi, 0x40000
je 0x4942db
test bl, bl
jne 0x49435c
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x49435c
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x49430e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x494323
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x494332
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x494343
cmp byte [esp + 2], 0
je 0x49435c
cmp byte [esp + 2], 0
je 0x494354
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x49435c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x494608
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 0x49462e
mov eax, esp
push eax
push 0x4945d0
call sub.user32.dll_EnumWindows
jmp 0x494641
mov eax, esp
push eax
push 0x4945b0
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 0x494704
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x494754]
test bl, 4
je 0x494718
or si, 1
test bl, 8
je 0x494721
or si, 4
test bl, 1
je 0x49472a
or si, 8
test bl, 2
je 0x494733
or si, 0x10
test bl, 0x10
je 0x49473c
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49474c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x494758
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x494794]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x494773
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x494783
or bx, 4
test esi, 0x20000000
je 0x49478f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x49d358
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49d36a
add esp, 0xfffffff0
call fcn.004052d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ada0
mov eax, dword [0x4afefc]
mov dword [eax + 4], ebx
mov dword [eax], 0x49d7b4
mov eax, dword [0x4aff08]
mov dword [eax + 4], ebx
mov dword [eax], 0x49d7c0
mov eax, ebx
call fcn.0049d7cc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x424420]
call fcn.00404d88
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x424420]
call fcn.00404d88
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x424420]
call fcn.00404d88
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x424420]
call fcn.00404d88
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x424420]
call fcn.00404d88
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x498100
push eax
push 0
push 0
mov eax, dword [0x4b0094]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4455d8]
call fcn.0044a5e0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4455d8]
call fcn.0044a5e0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4455d8]
call fcn.0044a5e0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4455d8]
call fcn.0044a5e0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4455d8]
call fcn.0044a5e0
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.0049dd24
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49db94
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49db94
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49db94
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49db94
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49db94
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49d4e5
call fcn.0040532c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49d934
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49dae1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x49dac2
mov dl, 1
mov eax, dword [0x4269e8]
call fcn.00432818
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406814
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49dab1
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.00480084
test al, al
je 0x49daa4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x49daf0
lea eax, [ebp - 0x394]
call fcn.00411a38
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x49daa4
xor eax, eax
push ebp
push 0x49da9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x49db60
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x49da86
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004069fc
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x49da86
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004069fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49daa4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49d9a7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00432754
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dae8
lea eax, [ebp - 0x3a0]
call fcn.00406804
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b6280]
cmp byte [eax + 0xad], 0
jne 0x49e6b2
cmp dword [0x4b6298], 0
jne 0x49e672
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4afdd4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4b6298], eax
cmp dword [0x4b6294], 0
jne 0x49e68d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4b6294], eax
cmp dword [0x4b629c], 0
jne 0x49e6b2
push esp
push 0
push 0
mov eax, dword [0x4afdd0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b629c], eax
pop edx
ret
Function at 0x49e9d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x49e9ef
add esp, 0xfffffff0
call fcn.004052d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ada0
mov eax, dword [0x4afe38]
cmp byte [eax], 0
jne 0x49ea1c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4b0074]
cmp word [eax + 2], 0
jne 0x49ea36
mov eax, dword [0x4b0074]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a0ad0
mov eax, dword [0x4b014c]
cmp word [eax + 2], 0
jne 0x49ea50
mov eax, dword [0x4b014c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a0ce0
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4455d8]
call fcn.0044a5e0
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a1290
mov dl, 1
mov eax, dword [0x424420]
call fcn.00404d88
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x424420]
call fcn.00404d88
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 [0x448c70]
call fcn.004513d8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x49ec30
mov eax, dword [0x4aff74]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045186c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a1578
mov dl, 1
mov eax, dword [0x424420]
call fcn.00404d88
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4aff74]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00411884
test eax, eax
je 0x49eb61
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00411668
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411868
test eax, eax
je 0x49eb79
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004069fc
push ebx
push 0x4a04a0
call fcn.004946e8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4afe38]
cmp byte [eax], 0
jne 0x49ebca
mov eax, ebx
call fcn.0049eda4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a17a4
mov eax, ebx
call fcn.004a23d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49ec27
call fcn.0040532c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49f078
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x49f11a
cmp dword [ebx + 0x94], 0
jne 0x49f114
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x49efc4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x49f114
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_GetWindowLongW
test al, 8
je 0x49f0da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x49f114
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.0042f1f4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49f0e9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b6280]
cmp dword [eax + 0x170], 0
je 0x49f49d
test bl, bl
jne 0x49f3eb
cmp dword [esi + 0x9c], 0
jne 0x49f3e0
mov eax, esi
call fcn.004a2228
push eax
push 0x49f244
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x49f3b1
mov eax, dword [0x4b6280]
cmp byte [eax + 0xd3], 0
je 0x49f3b1
mov eax, dword [esi + 0xd8]
call fcn.00407e94
mov edi, eax
cmp edi, 0
jl 0x49f3b1
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49f39a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49f3e0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f1f4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49f3c0
inc dword [esi + 0x9c]
jmp 0x49f49d
cmp dword [esi + 0x9c], 0
jle 0x49f49d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x49f49d
cmp dword [esi + 0x44], 0
je 0x49f448
mov eax, dword [0x4b6280]
cmp byte [eax + 0xd3], 0
je 0x49f448
mov eax, dword [esi + 0xd8]
call fcn.00407e94
mov edi, eax
cmp edi, 0
jl 0x49f448
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x49f431
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x49f477
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f1f4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x49f457
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4925c0]
call fcn.00408054
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a00ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a0157
cmp byte [ebx + 0xd3], 0
jne 0x4a0157
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406950
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a0144
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a0164
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406814
jmp 0x4a0164
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406814
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a198c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a19fa
mov eax, esi
call fcn.0047a094
test al, al
je 0x4a19fa
mov eax, dword [ebx + 0x84]
call fcn.00479d14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a19fa
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a19ee
push 0
mov eax, dword [ebx + 0x84]
call fcn.00479d14
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00470d54
jmp 0x4a19fa
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a17c4
pop esi
pop ebx
ret
Function at 0x1008450
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1002c50
call fcn.01004858
xor esi, esi
cmp dword [0x1009d48], esi
jne 0x1008494
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100847f
mov dword [0x1009d48], edi
jmp 0x1008494
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1008494
mov dword [0x1009d48], 2
mov eax, dword [0x1009d48]
cmp eax, 2
je 0x1008575
cmp eax, esi
je 0x1008575
cmp eax, 1
jne 0x10084d9
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x10084c2
mov eax, dword [0x1009c2c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x10084e0
xor eax, eax
jmp 0x1008587
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.010048b0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x1008516
cmp edi, esi
jne 0x1008531
lea eax, [ebx + ebx]
push eax
call fcn.010058fe
pop ecx
mov edi, eax
cmp edi, esi
je 0x10084d9
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1008564
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x100854e
push esi
push esi
jmp 0x1008554
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x1008570
push edi
call fcn.01005543
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x1008587
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.01004891
ret

Function at 0x1013117
Capabilities:
Resolve function by parsing pe exports

Disassembly:
ret
cmp byte [edi], 1
pop eax
ja 0x10130f3
xor eax, 0x1dca47e
sbb eax, dword [esp + 4]
jmp 0x1013170
imul eax, eax, 0xf
push eax
movzx eax, byte [edi]
lea edi, [edi + 1]
sub dword [esp], eax
jmp 0x10130db
mov edx, ebx
jmp 0x1013203
jne 0x101322f
lea edi, [ebx]
lea esi, [ebx]
add edi, dword [edx + 0x1c]
add esi, dword [edx + 0x24]
jmp 0x10131d6
ret 4
lea esi, [esi + ecx*2]
push ebx
movzx eax, word [esi]
pop esi
add esi, dword [edi + eax*4]
jmp 0x1013196
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
jmp 0x1017d6f
lodsd eax, dword [esi]
inc ecx
lea edi, [eax + ebx]
jmp 0x1017d89
add edx, dword [eax + 0x78]
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
pop ecx
jmp 0x101322f
cmp ecx, dword [edx + 0x18]
je 0x101302a
push 0
pop eax
jmp 0x10130f3
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x386f51c6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x47e90130
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x449e10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call sub.MPR.dll_WNetCloseEnum
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0xc]
mov edi, eax
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetACP]
test edi, edi
mov dword [0xa4ee4c], eax
je 0x449e7b
test esi, esi
je 0x449e6a
mov edx, dword [0x64ed2c]
push 0x64ea48
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0xa4ee4c]
pop edi
pop esi
add esp, 8
ret
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4182e8]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4182ec]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], edx
call fcn.00401200
mov ebx, dword [ebp - 0x18]
add ebx, 0x23f
cmp dword [0xb03fa4], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4182f0]
mov eax, dword [str.bT_]
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xb03fa4], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xb03fa0]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xb03fa4], 0x3eb
mov dword [0xb03fa0], eax
mov eax, dword [0xb03ef8]
cmove eax, dword [ebp - 0xc]
mov dword [0xb03ef8], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov dword [0xb03f9c], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0xc], edx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + edx]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x10], eax
cmp dword [0xb03fa4], 0xb03
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add ebx, 0x61c88647
mov ecx, dword [ebp - 0x24]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x2c]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret