joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460620
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor eax, eax
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
lea edi, [esi + 0x40]
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
xor edx, edx
lea eax, [esi + 0x20]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
xor ecx, ecx
test ebp, ebp
lea edx, [esi + 0x30]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov eax, 0x10
mov byte [esi + 0x2f], 1
mov dword [esi + 0x164], eax
mov byte [esi + 0x3f], 2
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], eax
je 0x4606f2
push ebx
xor ebx, ebx
test ebp, ebp
jbe 0x4606b1
cmp eax, 0x10
jne 0x46069c
lea eax, [esi + 0x70]
push eax
push edi
push edi
call fcn.00461081
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ebx + ecx]
mov cl, byte [edi + eax]
xor cl, dl
inc ebx
mov byte [edi + eax], cl
inc eax
cmp ebx, ebp
jb 0x460687
cmp eax, 0x10
lea ecx, [esi + 0x50]
jae 0x4606c1
xor byte [eax + esi + 0x40], 0x80
add ecx, 0x10
lea eax, [esi + 0x41]
inc ecx
mov ebp, 4
lea ebx, [ebx]
mov dl, byte [ecx - 1]
xor byte [eax - 1], dl
mov dl, byte [ecx]
xor byte [eax], dl
mov dl, byte [ecx + 1]
xor byte [eax + 1], dl
mov dl, byte [ecx + 2]
xor byte [eax + 2], dl
add ecx, 4
add eax, 4
dec ebp
jne 0x4606d0
pop ebx
jmp 0x46070d
lea eax, [esi + 0x50]
mov edx, dword [eax]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x70]
push ecx
push edi
push edi
call fcn.00461081
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esi], edx
mov edx, dword [edi + 0xc]
add esp, 0xc
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
pop edi
mov dword [esi + 0xc], edx
pop esi
xor eax, eax
pop ebp
ret
Function at 0x460cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x164]
cmp eax, 0x10
lea ebx, [esi + 0x50]
mov ecx, ebx
jae 0x460cd6
mov dl, byte [eax + esi + 0x20]
lea eax, [eax + esi + 0x20]
xor dl, 0x80
mov byte [eax], dl
add ecx, 0x10
push ebp
push edi
lea eax, [esi + 0x21]
inc ecx
mov edi, 4
mov dl, byte [ecx - 1]
xor byte [eax - 1], dl
mov dl, byte [ecx]
xor byte [eax], dl
mov dl, byte [ecx + 1]
xor byte [eax + 1], dl
mov dl, byte [ecx + 2]
xor byte [eax + 2], dl
add ecx, 4
add eax, 4
dec edi
jne 0x460ce1
lea ebp, [esi + 0x70]
lea eax, [esi + 0x20]
push ebp
push eax
push eax
call fcn.00461081
mov eax, dword [esi + 0x16c]
add esp, 0xc
cmp eax, 0x10
mov ecx, ebx
jae 0x460d2e
mov dl, byte [esi + eax + 0x30]
lea eax, [esi + eax + 0x30]
xor dl, 0x80
mov byte [eax], dl
add ecx, 0x10
lea eax, [esi + 0x31]
inc ecx
mov edi, 4
mov dl, byte [ecx - 1]
xor byte [eax - 1], dl
mov dl, byte [ecx]
xor byte [eax], dl
mov dl, byte [ecx + 1]
xor byte [eax + 1], dl
mov dl, byte [ecx + 2]
xor byte [eax + 2], dl
add ecx, 4
add eax, 4
dec edi
jne 0x460d37
add esi, 0x30
push ebp
push esi
push esi
call fcn.00461081
mov edx, dword [esp + 0x24]
add esp, 0xc
test edx, edx
pop edi
pop ebp
jbe 0x460d87
mov ecx, dword [esp + 0xc]
mov eax, esi
mov esi, edx
mov bl, byte [eax + 0x10]
mov dl, byte [eax - 0x10]
xor dl, bl
xor dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
dec esi
jne 0x460d76
pop esi
xor eax, eax
pop ebx
ret
Function at 0x45f1fe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esi + 0x78]
stc
push dword [esp]
test edx, edx
pushal
lea esp, [esp + 0x28]
jns 0x489b78
call fcn.0045f009
Function at 0x412210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41223d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41223d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10001389
Capabilities:
Check http status code

Disassembly:
add esi, 0xfffffdbe
jmp 0x100013b6
pop esi
jmp 0x10001364
cmp dword [esi], 0
stc
jb 0x1000154e
int1
sal esi, cl
loope 0x100013da
retf
hlt
stc
sbb esi, 0xfffffffb
jmp fcn.10001597
push esi
pop ecx
jb 0x10001418
inc ebx
or dh, byte [ebx]
dec ebp
sub al, 0x3e
insb byte es:[edi], dx
shl dword [bp + di + 0x256a], cl
mov bl, 0xfd
mov al, 0x90
sti
retf
je 0x1000144b
jb 0x1000142e
cmp al, byte [eax]
mov ch, 0x2d

Function at 0x100015a5
Capabilities:
Check http status code

Disassembly:
call int.10001389
cmp dword [eax], edi
les esi, [ebp - 0x67]
cmc
fiadd word ss:[eax + 0x2a3f6937]
pop ss
ja 0x1000155e
mov al, 0x59
iretd
push eax
push esi
stc
push ecx
push edx
push ebx
push edi
jb 0x100014f9
inc edi
invalid
mov dl, 0xff
xchg ebp, eax
aas
invalid
Function at 0x403860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x471020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4038d8
xor eax, eax
push ebp
push 0x4038d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403914
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4038d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x471020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x471020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404714
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x473048], 0
je 0x404775
cmp word [0x47321c], 0xd7b2
jne 0x40473d
cmp dword [0x473224], 0
jbe 0x40473d
mov eax, 0x473218
call dword [0x473234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40479c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47102c], 0
jne 0x404791
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408634
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408686
test eax, edx
je 0x408689
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408649
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40866f
add ecx, 4
js 0x40865f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40866c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408695
test edx, edx
jne 0x40863c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40be2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40be65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404984
jmp 0x40be6e
mov eax, ebx
mov edx, esi
call fcn.004048e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40be78
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40be9a
movzx eax, byte [esp]
jmp 0x40be9c
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c52c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c3a4
mov eax, dword [0x472d38]
cmp byte [eax], 0
je 0x40c5a8
mov eax, dword [0x472b20]
call fcn.00403228
call fcn.00402fdc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004090b4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c5f0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c5de
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x472ac4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4757f4]
call fcn.00405c50
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ce68
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cf3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040492c
lea eax, [ebp - 4]
call fcn.00404d7c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cf28
mov eax, ebx
call fcn.00402e80
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cf21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cf0b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cf50
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cf0b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf28
mov eax, dword [ebp - 0x10]
call fcn.00402e9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf45
lea eax, [ebp - 4]
call fcn.00404894
ret

Function at 0x41f8b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4779e8
cmp dword [edi], 0
jne 0x41f930
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4779e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x471b7c
mov ecx, 2
call fcn.00403070
mov edx, 0x41f88c
lea eax, [esi + 5]
call fcn.0041f8ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f8ac
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41f905
mov dword [0x4779e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4221cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404d24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x422224
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x472e70]
mov dl, 1
mov eax, dword [0x421cd8]
call fcn.0040c6ec
call fcn.004042dc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00421de0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43619c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d14
xor eax, eax
push ebp
push 0x4362d1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4362a4
xor edx, edx
push ebp
push 0x43629d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x4361e9
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x436272
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x436261
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x436228
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404d24
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403070
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436268
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x472a60]
mov dl, 1
mov eax, dword [0x407878]
call fcn.0040c6b0
call fcn.004042dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4362d8
lea eax, [ebp - 4]
call fcn.00404894
ret
Function at 0x4389e4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404894
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x438a32
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404b04
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43db14
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43dc47
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x421d38]
call fcn.00421e08
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43dc1d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00421ea8
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404b04
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x43dc5c
call fcn.00404bac
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00421f0c
lea ecx, [ebp - 4]
mov edx, 0x43dc98
mov eax, dword [ebp - 0xc]
call fcn.00422154
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e280
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43dc00
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43dca4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4725ac]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dc07
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x43dcf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x43dd3b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43dd1e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43dd2f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43dd3b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x442e60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x477c78], 0
je 0x442fa9
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x472cd0]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x442fa9
mov eax, dword [0x477c7c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x477c78]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x442f78
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x477c78]
call fcn.0041891c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x442f70
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x442f70
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x442f70
mov eax, dword [ebp - 0x14]
call fcn.0044d760
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x442f70
push ebp
call fcn.00442e1c
pop ecx
test al, al
jne 0x442f70
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403c64
test al, al
je 0x442f70
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403c64
cmp byte [ebp - 1], 0
je 0x442f70
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x442f70
mov edx, dword [ebp - 0x14]
mov eax, dword [0x477c7c]
call fcn.0044258c
inc edi
dec ebx
jne 0x442ec5
mov eax, dword [0x477c7c]
cmp dword [eax + 8], 0
jle 0x442f90
mov eax, dword [0x477c7c]
call fcn.00442644
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442fa9
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00442c80
pop ecx
test al, al
jne 0x442fa9
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452c00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x472e64]
cmp byte [eax + 0xc], 0
je 0x452d6d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452d66
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477c88], 0
jne 0x452c54
push 0x452d74
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x452d7c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c88], eax
cmp dword [0x4726f4], 0
jne 0x452d4f
push 0x452d8c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4726f4], eax
cmp dword [0x4726f4], 0
je 0x452d4f
push 0x452d98
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c8c], eax
push 0x452da8
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c90], eax
push 0x452dbc
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c94], eax
push 0x452dd4
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c98], eax
push 0x452dec
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477c9c], eax
push 0x452e00
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477ca0], eax
push 0x452e18
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477ca4], eax
push 0x452e30
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477ca8], eax
push 0x452e4c
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477cac], eax
push 0x452e58
mov eax, dword [0x4726f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477cb0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452d6d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45941c
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_GetWindowLongA
mov edi, eax
test bl, bl
je 0x45943d
test edi, 0x40000
je 0x459457
test bl, bl
jne 0x4594d8
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4594d8
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 0x45948a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x45949f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4594ae
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4594bf
cmp byte [esp + 2], 0
je 0x4594d8
cmp byte [esp + 2], 0
je 0x4594d0
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4594d8
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret