joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bb13
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
call fcn.0041bb9e
mov dword [0x43e43c], 1
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x14]
mov byte [0x43e438], bl
jne 0x41bb74
cmp dword [0x4356d4], 0
je 0x41bb62
mov esi, dword [0x4356d0]
sub esi, 4
cmp esi, dword [0x4356d4]
jb 0x41bb62
mov eax, dword [esi]
test eax, eax
je 0x41bb57
call eax
sub esi, 4
cmp esi, dword [0x4356d4]
jae 0x41bb4f
push 0x43f7b8
push 0x43f7b0
call fcn.0041bbb4
add esp, 8
push 0x43f7c0
push 0x43f7bc
call fcn.0041bbb4
add esp, 8
test ebx, ebx
je 0x41bb91
call fcn.0041bba9
jmp 0x41bb9b
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret

Function at 0x41cb69
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 4
xor ecx, ecx
mov eax, 0x43ee88
push edi
cmp dword [eax], edx
je 0x41cb87
add eax, 8
inc ecx
cmp eax, 0x43ef00
jb 0x41cb78
cmp dword [ecx*8 + 0x43ee88], edx
lea eax, [ecx*8]
jne 0x41cbc0
mov edx, dword [eax + 0x43ee8c]
push 0
lea eax, [esp + 8]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [0x43da00]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
add esp, 4
ret

Function at 0x420134
Capabilities:
Clear file content

Disassembly:
push ebp
mov eax, 0x100c
mov ebp, esp
call fcn.004179b8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 1
push 0
push esi
call fcn.0041b53e
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x420251
push 2
push 0
push esi
call fcn.0041b53e
add esp, 0xc
cmp eax, 0xffffffff
je 0x420251
mov ecx, dword [ebp + 0xc]
mov ebx, ecx
sub ebx, eax
test ebx, ebx
jle 0x4201f9
lea edi, [ebp - 0x100c]
xor eax, eax
mov ecx, 0x400
push 0x8000
rep stosd dword es:[edi], eax
push esi
call fcn.0041e794
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, 0x1000
cmp ebx, eax
jge 0x4201b3
mov eax, ebx
push eax
lea ecx, [ebp - 0x100c]
push ecx
push esi
call fcn.0041b13d
add esp, 0xc
mov edi, eax
cmp edi, 0xffffffff
je 0x4201d3
sub ebx, edi
test ebx, ebx
jg 0x4201a8
jmp 0x4201eb
call fcn.0041a01e
cmp dword [eax], 5
jne 0x4201e8
call fcn.0041a015
mov dword [eax], 0xd
mov dword [ebp - 4], edi
push dword [ebp - 0xc]
push esi
call fcn.0041e794
add esp, 8
jmp 0x42023e
jge 0x42023e
push 0
push ecx
push esi
call fcn.0041b53e
add esp, 0xc
push esi
call fcn.0041e94a
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
sbb ecx, ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xffffffff
jne 0x42023e
call fcn.0041a015
mov dword [eax], 0xd
call fcn.0041a01e
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push esi
call fcn.0041b53e
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x420256
mov eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42113c
Capabilities:
Set environment variable

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
test esi, esi
je 0x421327
push 0x3d
push esi
call fcn.00416cc9
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x421327
cmp ebp, esi
je 0x421327
cmp byte [ebp + 1], 1
sbb eax, eax
mov ecx, dword [0x43e420]
neg eax
mov dword [esp + 0x10], eax
cmp dword [0x43e424], ecx
jne 0x421194
push ecx
call fcn.00421391
add esp, 4
mov dword [0x43e420], eax
cmp dword [0x43e420], 0
jne 0x421223
cmp dword [esp + 0x1c], 0
je 0x4211bf
cmp dword [0x43e428], 0
je 0x4211bf
call fcn.00420d4f
test eax, eax
je 0x421223
jmp 0x421327
cmp dword [esp + 0x10], 0
je 0x4211cd
xor eax, eax
jmp 0x42132c
cmp dword [0x43e420], 0
jne 0x4211f8
push 4
call fcn.00419e21
add esp, 4
mov dword [0x43e420], eax
test eax, eax
je 0x421327
mov eax, dword [0x43e420]
mov dword [eax], 0
cmp dword [0x43e428], 0
jne 0x421223
push 4
call fcn.00419e21
add esp, 4
mov dword [0x43e428], eax
test eax, eax
je 0x421327
mov eax, dword [0x43e428]
mov dword [eax], 0
mov edi, dword [0x43e420]
sub ebp, esi
push ebp
push esi
call fcn.00421334
add esp, 8
mov ebx, eax
test ebx, ebx
jl 0x421279
cmp dword [edi], 0
je 0x421279
cmp dword [esp + 0x10], 0
je 0x421274
lea eax, [edi + ebx*4]
cmp dword [eax], 0
je 0x42125d
mov ecx, dword [eax + 4]
inc ebx
mov dword [eax], ecx
add eax, 4
cmp dword [eax], 0
jne 0x42124f
lea eax, [ebx*4]
push eax
push edi
call fcn.00419574
add esp, 8
test eax, eax
je 0x4212b4
jmp 0x4212af
mov dword [edi + ebx*4], esi
jmp 0x4212b4
cmp dword [esp + 0x10], 0
jne 0x421323
test ebx, ebx
jge 0x42128a
neg ebx
lea eax, [ebx*4 + 8]
push eax
push edi
call fcn.00419574
add esp, 8
test eax, eax
je 0x421327
lea ecx, [eax + ebx*4]
mov dword [ecx], esi
mov dword [ecx + 4], 0
mov dword [0x43e420], eax
cmp dword [esp + 0x1c], 0
je 0x42131f
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.00419e21
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x42131f
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 1
sbb eax, eax
lea ecx, [ebp + ebx]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [ecx], 0
lea ecx, [ecx + 1]
and eax, ecx
push eax
push ebx
call ebp
push ebx
call fcn.004197e1
add esp, 4
xor eax, eax
jmp 0x42132c
xor eax, eax
jmp 0x42132c
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x423dbc
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [ecx + 0x1c]
mov esi, ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
mov edi, dword [esp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00426107
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004260e6
pop edi
pop esi
ret 4
Function at 0x424f49
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.00424eeb
mov ebx, eax
push 0
push ebx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push 1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov dword [ebp - 4], eax
push 0
push ebx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov ebx, eax
test ebx, ebx
je 0x424feb
cmp edi, ebx
je 0x424feb
cmp dword [ebp - 4], ebx
je 0x424feb
push 0
push 0
push 0x87
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 0x80
jne 0x424f7d
test ah, 1
je 0x424fbe
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
jne 0x424f7d
push 0x100
lea eax, [ebp - 0x104]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x104]
push ecx
call fcn.00424e92
add esp, 8
test eax, eax
je 0x424f7d
mov eax, ebx
jmp 0x425068
push edi
mov ecx, esi
call fcn.00424eeb
mov ebx, eax
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 2
push ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x425012
push 5
push dword [esi + 0x1c]
call edi
mov ebx, eax
push 0
push 0
push 0x87
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 0x80
jne 0x425061
test ah, 1
je 0x425038
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 0x80
jne 0x425061
push 0x100
lea eax, [ebp - 0x104]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x104]
push ecx
call fcn.00424e92
add esp, 8
test eax, eax
jne 0x425071
cmp ebx, dword [ebp - 4]
jne 0x424ffe
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, ebx
jmp 0x425068

Function at 0x4255d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, dword [ecx + 0x34]
test edi, edi
jne 0x4255ec
cmp dword [ecx + 0x38], 0
jne 0x4255ec
mov eax, 1
jmp 0x42564a
mov esi, dword [ecx + 0x38]
test edi, edi
je 0x42561c
mov esi, dword [0x433ec8]
push 5
push edi
push esi
call fcn.00428e41
test eax, eax
jne 0x42560a
xor eax, eax
jmp 0x42564a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42561c
xor eax, eax
jmp 0x42564a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test byte [eax], 1
jne 0x42563b
cmp word [eax + 0xa], 0
jne 0x42563b
cmp word [eax + 0xc], 0
mov ebx, 1
je 0x42563d
xor ebx, ebx
test edi, edi
je 0x425648
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x42564e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 4
mov eax, dword [esp + 8]
push ebx
push esi
test eax, eax
push edi
mov esi, 1
push ebp
mov edi, ecx
je 0x42570a
mov ebx, dword [0x433ec8]
push 0xf0
push eax
push ebx
call fcn.00428e41
test eax, eax
je 0x42570a
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
call ebp
mov ebx, eax
test ebx, ebx
je 0x42570a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov cx, word [eax]
test cx, cx
je 0x425703
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov dx, word [eax]
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 4
cmp dx, 0x401
mov ebp, dword [eax]
jne 0x4256d2
mov dx, 0x180
jmp 0x4256dd
cmp dx, 0x403
jne 0x4256dd
mov dx, 0x143
push dword [esp + 0x10]
push 0
movzx edx, dx
movzx ecx, cx
push edx
push ecx
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
jne 0x4256fb
xor esi, esi
add dword [esp + 0x10], ebp
test esi, esi
jne 0x42569d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x425723
push 0
push 0
push 0
push 0
push 0x364
push dword [edi + 0x1c]
call fcn.00424ad0
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 4

Function at 0x42654a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, 0
push 0x60
call fcn.00416076
add esp, 4
test eax, eax
je 0x426571
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, eax
call fcn.00430dc0
mov esi, eax
mov edi, dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
mov eax, edi
or al, 4
push eax
call fcn.0042663e
test eax, eax
jne 0x426595
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
xor eax, eax
jmp 0x4265b4
push dword [ebp + 0x10]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test edi, 4
jne 0x4265b2
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop edi
pop esi
pop ebp
ret 0x18

Function at 0x4269b2
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp dword [eax + 4], 0x100
jne 0x4269f7
cmp dword [eax + 8], 0x70
jne 0x4269f7
mov eax, dword [eax + 0xc]
shr eax, 0x10
test ah, 0x40
jne 0x4269f7
push 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x4269f7
push 0x11
call esi
test ax, ax
jl 0x4269f7
push 0x12
call esi
test ax, ax
mov eax, 1
jge 0x4269f9
xor eax, eax
pop esi
ret 4
Function at 0x4277ca
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
lea eax, [ebp - 8]
push edi
mov esi, dword [ebp + 8]
push eax
mov edi, dword [ebp + 0xc]
push esi
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0x104
test eax, eax
jne 0x427803
push edi
push esi
call fcn.00428e01
xor eax, eax
jmp 0x427977
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.00418e4c
add esp, 0xc
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push 0x104
push esi
push eax
call fcn.00428e01
cmp byte [ebp - 0x110], 0
je 0x42786b
mov ecx, 0x5c
mov edx, 0x2f
mov al, byte [edi]
cmp al, cl
jne 0x427853
cmp byte [edi + 1], cl
je 0x42786b
cmp al, cl
jne 0x427853
cmp byte [edi + 1], dl
je 0x42786b
cmp al, dl
jne 0x427865
cmp byte [edi + 1], cl
je 0x42786b
cmp al, dl
jne 0x427865
cmp byte [edi + 1], dl
je 0x42786b
inc edi
cmp byte [edi], 0
jne 0x42783f
cmp byte [edi], 0
je 0x4278ae
add edi, 2
cmp byte [edi], 0
je 0x42788e
mov al, byte [edi]
cmp al, 0x5c
je 0x427888
cmp al, 0x2f
je 0x427888
inc edi
cmp byte [edi], 0
jne 0x427878
cmp byte [edi], 0
je 0x4278a3
inc edi
cmp byte [edi], 0
je 0x4278d8
mov al, byte [edi]
cmp al, 0x5c
je 0x4278a3
cmp al, 0x2f
je 0x4278a3
inc edi
cmp byte [edi], 0
jne 0x427893
cmp byte [edi], 0
je 0x4278d8
mov byte [edi + 1], 0
jmp 0x4278d8
cmp byte [ebp - 0x110], 0
lea eax, [ebp - 0x110]
je 0x4278cf
mov cl, byte [eax]
cmp cl, 0x5c
je 0x4278cf
cmp cl, 0x2f
je 0x4278cf
inc eax
cmp byte [eax], 0
jne 0x4278bd
cmp byte [eax], 0
je 0x4278d8
mov byte [eax + 1], 0
push 0
lea eax, [ebp - 4]
push 0
lea ecx, [ebp - 0xc]
push eax
lea edx, [ebp - 0x110]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4278ff
xor eax, eax
jmp 0x427977
test byte [ebp - 4], 4
jne 0x427965
test byte [ebp - 4], 2
jne 0x427912
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.USER32.dll_CharToOemA]
cmp dword [0x43419c], 0
jne 0x427955
test byte [ebp - 4], 2
jne 0x427955
cmp byte [ebp - 0x214], 0
lea eax, [ebp - 0x214]
je 0x427955
mov cl, byte [eax]
cmp cl, 0x61
jl 0x42794f
cmp cl, 0x7a
jg 0x42794f
sub cl, 0x20
mov byte [eax], cl
inc eax
cmp byte [eax], 0
jne 0x42793e
push esi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
jmp 0x427972
test byte [ebp - 4], 2
jne 0x427972
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x428f4a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x100
mov edi, eax
ja 0x428f93
push 0x100
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, edi
jne 0x428f93
push esi
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x428f9d
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42909c
Capabilities:
Allocate thread local storage

Disassembly:
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x4290c4
cmp al, 3
ja 0x4290c4
cmp edi, 2
ja 0x4290c4
call esi
mov edi, eax
jmp 0x4290b9
mov eax, edi
pop edi
pop esi
ret

Function at 0x42926b
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
mov eax, dword [ecx + 0x1c]
mov esi, ecx
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [esi + 0x1c]
push dword [ecx + 0x1c]
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov ecx, dword [esi + 0x1c]
mov edx, 0x433e30
mov eax, 0
test edx, edx
je 0x4292a0
mov eax, dword [0x433e4c]
push 0x13
push 0
push 0
push 0
push 0
push eax
push dword [ecx + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
ret

Function at 0x4297cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
cmp dword [ecx + 0x74], 0
mov esi, ecx
je 0x429816
push dword [ebp + 8]
mov ecx, esi
call fcn.00431b0a
mov esi, eax
test esi, esi
jne 0x4297f0
xor eax, eax
jmp 0x429841
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [0x4405d8]
mov edi, eax
push esi
call dword [0x4405e4]
cmp edi, 1
sbb eax, eax
neg eax
jmp 0x429841
push dword [ebp + 0x10]
push 0x43cc10
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [esi + 0x84]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42bc42
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
lea ebx, [ecx + 0x6c]
push edi
push dword [esp + 0x14]
push dword [esp + 0x14]
mov esi, ecx
call fcn.0042c191
mov edi, eax
push 1
push edi
mov ecx, ebx
call fcn.00422638
mov eax, dword [esi + 0x70]
lea eax, [eax + edi*4]
cmp dword [eax - 4], 0
jne 0x42bc7e
cmp dword [eax], 0
jne 0x42bc7e
push 1
mov ecx, ebx
push edi
call fcn.00422638
mov ecx, esi
call fcn.0042ad19
cmp dword [esi + 0x68], 0
mov edi, eax
je 0x42bcb7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
jne 0x42bcb7
cmp dword [esi + 0x74], 1
jne 0x42bcaa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
jmp 0x42bcbe
push 0
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42bcbe
or byte [edi + 0xbc], 0xc
pop edi
pop esi
pop ebx
ret 8
Function at 0x42c673
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c785
push eax
mov dword fs:[0], esp
sub esp, 4
mov dword [ebp - 0x10], ecx
push ebx
push edi
call fcn.00423060
xor edi, edi
push 0xa
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.0042266f
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.00425cd3
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [eax], 0x43ab10
mov dword [eax + 0x98], edi
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edi
mov dword [eax + 0x88], edi
mov dword [eax + 0x8c], edi
mov dword [eax + 0x90], edi
mov dword [eax + 0x94], edi
mov dword [eax + 0x9c], edi
mov dword [eax + 0xa0], edi
mov dword [eax + 0x80], edi
mov dword [eax + 0x60], edi
mov dword [eax + 0xa4], edi
mov dword [eax + 0xbc], edi
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x30], 1
add eax, 0x50
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], edi
mov dword [eax + 0x40], edi
mov dword [eax + 0x4c], edi
mov dword [eax + 0xb4], edi
mov ecx, eax
mov dword [eax + 0x48], edi
mov dword [eax + 0x84], 0xffffffff
mov dword [eax + 0xb8], edi
call fcn.0042c820
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42cc81
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push ebp
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x42cd21
mov esi, dword [esp + 0x14]
push edi
call fcn.0042357b
mov ebp, eax
test ebp, ebp
je 0x42cd12
mov eax, dword [ebx + 0x1c]
cmp eax, edi
je 0x42cd12
push edi
push eax
call fcn.0042caaa
test eax, eax
je 0x42cd12
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test esi, esi
jne 0x42ccf5
mov ecx, eax
and ecx, 0x18000000
cmp ecx, 0x10000000
jne 0x42ccf1
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp + 0x28], 1
jmp 0x42cd12
test esi, esi
je 0x42cd12
test eax, 0x18000000
jne 0x42cd12
cmp dword [ebp + 0x28], 0
je 0x42cd12
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp + 0x28], 0
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x42cca4
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x42d8c2
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push ebp
mov ecx, esi
call fcn.0042ad19
mov edi, eax
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test ebp, ebp
je 0x42d8f0
push ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
or byte [edi + 0xbc], 0xc
jmp 0x42d934
cmp ebx, 1
sbb eax, eax
and eax, 0x40
add eax, 0x40
or al, 0x17
push eax
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
test ebx, ebx
jne 0x42d928
mov ecx, esi
call fcn.0042a59d
test eax, eax
jne 0x42d934
push 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + pe_nt_image_headers32]
mov ecx, esi
call fcn.0042a59d
test eax, eax
je 0x42d9c5
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x42d954
mov eax, dword [ecx]
call dword [eax + 0x98]
jmp 0x42d95a
cmp ebx, 1
sbb eax, eax
inc eax
cmp eax, 1
jne 0x42d98a
test ebx, ebx
je 0x42d98a
mov dword [edi + 0x84], 0xffffffff
test ebp, ebp
je 0x42d97d
mov dword [edi + 0x84], 8
jmp 0x42d9b9
push 8
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42d9c5
test eax, eax
jne 0x42d9b5
mov dword [edi + 0x84], 0xffffffff
test ebp, ebp
je 0x42d9a8
mov dword [edi + 0x84], 0
jmp 0x42d9c5
push 0
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42d9c5
test ebp, ebp
jne 0x42d9c5
push 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + pe_nt_image_headers32]
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x42ec42
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [edi + 0x5c], 0
je 0x42ec9f
mov ebx, dword [edi + 0x60]
test ebx, ebx
je 0x42ec9f
cmp dword [ebx + 0x68], 0
je 0x42ec9f
mov ecx, ebx
call fcn.0042b9b7
cmp eax, 1
jne 0x42ec9f
mov eax, dword [ebx + 0x54]
and eax, dword [ebp + 0x14]
test ah, 0xf0
je 0x42ec9f
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00423563
push 0x15
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x42ed0c
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0042ebb0
mov esi, eax
push 0x15
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0x20], 0
jne 0x42ecce
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x20], eax
push 0xe81f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00423563
push 0
mov ecx, eax
push edi
call fcn.0042ba05
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
push 8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10