joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bafc
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or eax, 0x16583
sub eax, 0x15e67
pop eax
push edi
push ecx
add esp, 4
add edi, 0x4ecc
jmp 0x49bb1d
pop edi
mov edx, dword [ebp - 0x204]
mov ax, word [edx]
mov word [ebp - 0x292], ax
mov ecx, dword [ebp - 0x204]
add ecx, 2
mov dword [ebp - 0x204], ecx
mov dx, word [ebp - 0x292]
mov word [ebp - 0x10], dx
push esi
sub esi, 0xd0d5
and esi, 0xe2ea
add esi, 0x12829
pop esi
push ecx
push eax
add esp, 4
or ecx, 0x9d83
sub ecx, 0x13dd4
and ecx, 0xe587
add ecx, 0x67ee
pop ecx
movzx eax, word [ebp - 0x10]
test eax, eax
jne 0x49bb97
movzx ecx, word [ebp - 0x5c]
movzx edx, word [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 0x2c0], ecx
jmp 0x49bc1a
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x10]
cmp eax, ecx
je 0x49ba90
movzx edx, word [ebp - 0x5c]
xor edx, 0x20
movzx eax, word [ebp - 0x10]
cmp edx, eax
je 0x49ba90
push ebx
push ebx
add esp, 4
add ebx, 0xc5b
sub ebx, 0xfdb7
pop ebx
push edi
jmp 0x49bbd3
add edi, 0xdafd
pop edi
push ebx
push edx
add esp, 4
sub ebx, 0x10d88
and ebx, 0xc05
pop ebx
movzx ecx, word [ebp - 0x5c]
movzx edx, word [ebp - 0x10]
cmp ecx, edx
jge 0x49bc04
mov dword [ebp - 0x2bc], 0xffffffff
jmp 0x49bc0e
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x49bc63
push esi
sub esi, 0x85a
and esi, 0x45c0
or esi, 0x73e8
add esi, 0xe37c
pop esi
push edi
push edx
add esp, 4
call 0x49bc51
add byte [ebx + 0x37], al
cmp byte [eax*2 + 0x3839503c], dh
add esp, 4
pop edi
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x6c], ecx
jmp 0x49bcfa
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov dword [ebp - 0xc8], eax
push ebx
push edi
add esp, 4
xor ebx, 0x158a6
sub ebx, 0x15879
or ebx, 0x5ff9
sub ebx, 0xe914
pop ebx
push ebx
or ebx, 0x93c0
add ebx, 0x17ac7
and ebx, 0x14cdf
pop ebx
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0x208]
je 0x49bcc1
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 0x30], 0
jne 0x49ba05
push ebx
push ecx
add esp, 4
call 0x49bcd2
add byte [eax], bh
inc eax
dec eax
dec edi
dec edi
add esp, 4
or ebx, 0x174bd
sub ebx, 0x6fb5
pop ebx
push ebx
jmp 0x49bcec
add ebx, 0x7179
pop ebx
mov dword [ebp - 0x6c], 0
Function at 0x49bc51
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or eax, 0x16583
sub eax, 0x15e67
pop eax
push edi
push ecx
add esp, 4
add edi, 0x4ecc
jmp 0x49bb1d
pop edi
mov edx, dword [ebp - 0x204]
mov ax, word [edx]
mov word [ebp - 0x292], ax
mov ecx, dword [ebp - 0x204]
add ecx, 2
mov dword [ebp - 0x204], ecx
mov dx, word [ebp - 0x292]
mov word [ebp - 0x10], dx
push esi
sub esi, 0xd0d5
and esi, 0xe2ea
add esi, 0x12829
pop esi
push ecx
push eax
add esp, 4
or ecx, 0x9d83
sub ecx, 0x13dd4
and ecx, 0xe587
add ecx, 0x67ee
pop ecx
movzx eax, word [ebp - 0x10]
test eax, eax
jne 0x49bb97
movzx ecx, word [ebp - 0x5c]
movzx edx, word [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 0x2c0], ecx
jmp 0x49bc1a
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x10]
cmp eax, ecx
je 0x49ba90
movzx edx, word [ebp - 0x5c]
xor edx, 0x20
movzx eax, word [ebp - 0x10]
cmp edx, eax
je 0x49ba90
push ebx
push ebx
add esp, 4
add ebx, 0xc5b
sub ebx, 0xfdb7
pop ebx
push edi
jmp 0x49bbd3
add edi, 0xdafd
pop edi
push ebx
push edx
add esp, 4
sub ebx, 0x10d88
and ebx, 0xc05
pop ebx
movzx ecx, word [ebp - 0x5c]
movzx edx, word [ebp - 0x10]
cmp ecx, edx
jge 0x49bc04
mov dword [ebp - 0x2bc], 0xffffffff
jmp 0x49bc0e
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x49bc63
push esi
sub esi, 0x85a
and esi, 0x45c0
or esi, 0x73e8
add esi, 0xe37c
pop esi
push edi
push edx
add esp, 4
call 0x49bc51
add byte [ebx + 0x37], al
cmp byte [eax*2 + 0x3839503c], dh
add esp, 4
pop edi
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x6c], ecx
jmp 0x49bcfa
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov dword [ebp - 0xc8], eax
push ebx
push edi
add esp, 4
xor ebx, 0x158a6
sub ebx, 0x15879
or ebx, 0x5ff9
sub ebx, 0xe914
pop ebx
push ebx
or ebx, 0x93c0
add ebx, 0x17ac7
and ebx, 0x14cdf
pop ebx
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0x208]
je 0x49bcc1
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 0x30], 0
jne 0x49ba05
push ebx
push ecx
add esp, 4
call 0x49bcd2
add byte [eax], bh
inc eax
dec eax
dec edi
dec edi
add esp, 4
or ebx, 0x174bd
sub ebx, 0x6fb5
pop ebx
push ebx
jmp 0x49bcec
add ebx, 0x7179
pop ebx
mov dword [ebp - 0x6c], 0
Function at 0x49bcd2
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or eax, 0x16583
sub eax, 0x15e67
pop eax
push edi
push ecx
add esp, 4
add edi, 0x4ecc
jmp 0x49bb1d
pop edi
mov edx, dword [ebp - 0x204]
mov ax, word [edx]
mov word [ebp - 0x292], ax
mov ecx, dword [ebp - 0x204]
add ecx, 2
mov dword [ebp - 0x204], ecx
mov dx, word [ebp - 0x292]
mov word [ebp - 0x10], dx
push esi
sub esi, 0xd0d5
and esi, 0xe2ea
add esi, 0x12829
pop esi
push ecx
push eax
add esp, 4
or ecx, 0x9d83
sub ecx, 0x13dd4
and ecx, 0xe587
add ecx, 0x67ee
pop ecx
movzx eax, word [ebp - 0x10]
test eax, eax
jne 0x49bb97
movzx ecx, word [ebp - 0x5c]
movzx edx, word [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 0x2c0], ecx
jmp 0x49bc1a
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x10]
cmp eax, ecx
je 0x49ba90
movzx edx, word [ebp - 0x5c]
xor edx, 0x20
movzx eax, word [ebp - 0x10]
cmp edx, eax
je 0x49ba90
push ebx
push ebx
add esp, 4
add ebx, 0xc5b
sub ebx, 0xfdb7
pop ebx
push edi
jmp 0x49bbd3
add edi, 0xdafd
pop edi
push ebx
push edx
add esp, 4
sub ebx, 0x10d88
and ebx, 0xc05
pop ebx
movzx ecx, word [ebp - 0x5c]
movzx edx, word [ebp - 0x10]
cmp ecx, edx
jge 0x49bc04
mov dword [ebp - 0x2bc], 0xffffffff
jmp 0x49bc0e
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x49bc63
push esi
sub esi, 0x85a
and esi, 0x45c0
or esi, 0x73e8
add esi, 0xe37c
pop esi
push edi
push edx
add esp, 4
call 0x49bc51
add byte [ebx + 0x37], al
cmp byte [eax*2 + 0x3839503c], dh
add esp, 4
pop edi
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x6c], ecx
jmp 0x49bcfa
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov dword [ebp - 0xc8], eax
push ebx
push edi
add esp, 4
xor ebx, 0x158a6
sub ebx, 0x15879
or ebx, 0x5ff9
sub ebx, 0xe914
pop ebx
push ebx
or ebx, 0x93c0
add ebx, 0x17ac7
and ebx, 0x14cdf
pop ebx
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0x208]
je 0x49bcc1
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 0x30], 0
jne 0x49ba05
push ebx
push ecx
add esp, 4
call 0x49bcd2
add byte [eax], bh
inc eax
dec eax
dec edi
dec edi
add esp, 4
or ebx, 0x174bd
sub ebx, 0x6fb5
pop ebx
push ebx
jmp 0x49bcec
add ebx, 0x7179
pop ebx
mov dword [ebp - 0x6c], 0
Function at 0x49d045
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
push ebx
add ebx, 0xfa70
jmp 0x49cfa3
pop ebx
push eax
push edi
add esp, 4
xor eax, 0x3550
sub eax, 0xb179
xor eax, 0xd3fa
or eax, 0xa7ac
pop eax
push eax
add eax, 0xf312
and eax, 0xa8e5
sub eax, 0xf9e1
pop eax
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x3f4], ecx
push esi
or esi, 0x36f4
xor esi, 0x11ba8
add esi, 0x1f20
and esi, 0x427
pop esi
push ecx
push esi
add esp, 4
sub ecx, 0xbb88
jmp 0x49d00e
sub ecx, 0x16ac6
pop ecx
mov edx, dword [ebp - 0x3f4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x3f8], eax
push esi
add esi, 0xf87d
sub esi, 0xc206
pop esi
push esi
push ebx
add esp, 4
call 0x49d045
add byte [edi + ecx*2], bh
cmp ecx, dword [ecx + 0x4e]
xor eax, 0xc483443d
add al, 0x81
idiv byte [ecx - 0x14ffff66]
add eax, 0x46363950
cmp bl, byte [esi - 0x75]
lea ecx, [eax]
cld
invalid
Function at 0x49f218
Capabilities:
Get number of processors

Disassembly:
add esp, 4
call 0x49f22b
add byte [eax + 0x33], cl
dec eax
dec esi
inc esp
dec ecx
inc esi
dec edi
inc ebx
add esp, 4
pop edi
mov dword [ebp - 0x74], 0

Function at 0x49f22b
Capabilities:
Get number of processors

Disassembly:
add esp, 4
call 0x49f22b
add byte [eax + 0x33], cl
dec eax
dec esi
inc esp
dec ecx
inc esi
dec edi
inc ebx
add esp, 4
pop edi
mov dword [ebp - 0x74], 0
Function at 0x4b3110
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 0x4b3131
test edi, 0x40000
je 0x4b314b
test bl, bl
jne 0x4b31cc
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4b31cc
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 0x4b317e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4b3193
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4b31a2
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4b31b3
cmp byte [esp + 2], 0
je 0x4b31cc
cmp byte [esp + 2], 0
je 0x4b31c4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4b31cc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4b3478
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 0x4b349e
mov eax, esp
push eax
push 0x4b3440
call sub.user32.dll_EnumWindows
jmp 0x4b34b1
mov eax, esp
push eax
push 0x4b3420
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 0x4b3574
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4b35c4]
test bl, 4
je 0x4b3588
or si, 1
test bl, 8
je 0x4b3591
or si, 4
test bl, 1
je 0x4b359a
or si, 8
test bl, 2
je 0x4b35a3
or si, 0x10
test bl, 0x10
je 0x4b35ac
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b35bc
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4b35c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4b3604]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b35e3
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b35f3
or bx, 4
test esi, 0x20000000
je 0x4b35ff
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4bc0fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4bc10e
add esp, 0xfffffff0
call fcn.00405424
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044992c
mov eax, dword [0x4db934]
mov dword [eax + 4], ebx
mov dword [eax], 0x4bc538
mov eax, dword [0x4db940]
mov dword [eax + 4], ebx
mov dword [eax], 0x4bc544
mov eax, ebx
call fcn.004bc550
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4322f0]
call fcn.00404ec4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4322f0]
call fcn.00404ec4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4322f0]
call fcn.00404ec4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4322f0]
call fcn.00404ec4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4322f0]
call fcn.00404ec4
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, 0x4b6f74
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x450924]
call fcn.00456e88
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x450924]
call fcn.00456e88
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x450924]
call fcn.00456e88
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x450924]
call fcn.00456e88
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x450924]
call fcn.00456e88
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004bcaa8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bc918
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bc918
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bc918
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bc918
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4bc918
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4bc285
call fcn.0040547c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4bc6b8
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 0x4bc863
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4bc844
mov dl, 1
mov eax, dword [0x434acc]
call fcn.0044117c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406960
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4bc833
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.00482f7c
test al, al
je 0x4bc826
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, 0x4bc874
lea eax, [ebp - 0x394]
call fcn.0041d6e4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4bc826
xor eax, eax
push ebp
push 0x4bc81f
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 0x4bc8e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4bc808
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040739c
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 0x4bc808
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040739c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc826
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4bc729
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004410b8
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 0x4bc86a
lea eax, [ebp - 0x3a0]
call fcn.00406960
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e12ac]
cmp byte [eax + 0xad], 0
jne 0x4bd432
cmp dword [0x4e12c4], 0
jne 0x4bd3f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4db638]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4e12c4], eax
cmp dword [0x4e12c0], 0
jne 0x4bd40d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4e12c0], eax
cmp dword [0x4e12c8], 0
jne 0x4bd432
push esp
push 0
push 0
mov eax, dword [0x4db634]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e12c8], eax
pop edx
ret
Function at 0x4bd748
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4bd75f
add esp, 0xfffffff0
call fcn.00405424
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044992c
mov eax, dword [0x4db840]
cmp byte [eax], 0
jne 0x4bd78c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4dbae8]
cmp word [eax + 2], 0
jne 0x4bd7a6
mov eax, dword [0x4dbae8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bf810
mov eax, dword [0x4dbbe0]
cmp word [eax + 2], 0
jne 0x4bd7c0
mov eax, dword [0x4dbbe0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bfa14
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x450924]
call fcn.00456e88
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4bff8c
mov dl, 1
mov eax, dword [0x4322f0]
call fcn.00404ec4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4322f0]
call fcn.00404ec4
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 [0x455020]
call fcn.00460340
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4bd9a0
mov eax, dword [0x4db9bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004607d4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4c0274
mov dl, 1
mov eax, dword [0x4322f0]
call fcn.00404ec4
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4db9bc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041d50c
test eax, eax
je 0x4bd8d1
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041d2c0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041d4f0
test eax, eax
je 0x4bd8e9
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.0040739c
push ebx
push 0x4bf1fc
call fcn.004b3558
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4db840]
cmp byte [eax], 0
jne 0x4bd93a
mov eax, ebx
call fcn.004bdb14
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.004c04a0
mov eax, ebx
call fcn.004c10d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4bd997
call fcn.0040547c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bdde0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4bde82
cmp dword [ebx + 0x94], 0
jne 0x4bde7c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4bdd2c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4bde7c
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 0x4bde42
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4bde7c
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.0043d65c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4bde51
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e12ac]
cmp dword [eax + 0x170], 0
je 0x4be205
test bl, bl
jne 0x4be153
cmp dword [esi + 0x9c], 0
jne 0x4be148
mov eax, esi
call fcn.004c0f20
push eax
push 0x4bdfac
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4be119
mov eax, dword [0x4e12ac]
cmp byte [eax + 0xd3], 0
je 0x4be119
mov eax, dword [esi + 0xd8]
call fcn.004082a4
mov edi, eax
cmp edi, 0
jl 0x4be119
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 0x4be102
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4be148
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043d65c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4be128
inc dword [esi + 0x9c]
jmp 0x4be205
cmp dword [esi + 0x9c], 0
jle 0x4be205
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4be205
cmp dword [esi + 0x44], 0
je 0x4be1b0
mov eax, dword [0x4e12ac]
cmp byte [eax + 0xd3], 0
je 0x4be1b0
mov eax, dword [esi + 0xd8]
call fcn.004082a4
mov edi, eax
cmp edi, 0
jl 0x4be1b0
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 0x4be199
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4be1df
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043d65c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4be1bf
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 [0x4b1430]
call fcn.00408464
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4bee48
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 0x4beeb3
cmp byte [ebx + 0xd3], 0
jne 0x4beeb3
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.00406ac8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4beea0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4beec0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d20
jmp 0x4beec0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d20
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4c0688
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4c06f6
mov eax, esi
call fcn.0047cf28
test al, al
je 0x4c06f6
mov eax, dword [ebx + 0x84]
call fcn.0047cb7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c06f6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4c06ea
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047cb7c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00473af8
jmp 0x4c06f6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004c04c0
pop esi
pop ebx
ret

Function at 0x4c5320
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4e130c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4c5342
shr eax, 1
xor eax, 0xedb88320
jmp 0x4c5344
shr eax, 1
dec edx
jne 0x4c5330
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4c5329
mov byte [0x4e170c], 1
pop esi
pop ebx
ret

Function at 0x4c5360
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4e170c], 0
jne 0x4c5377
call fcn.004c5320
mov eax, edi
dec eax
test eax, eax
jl 0x4c539f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e130c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4c5381
mov eax, ebx
pop edi
pop esi
pop ebx
ret