joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40993e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x409989
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00409b5b
test al, al
jne 0x409983
sub edx, 2
cmp edx, edi
jne 0x409969
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4099ab
lea eax, [edi + 2]
cmp edx, eax
je 0x4099ab
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040988a
add esp, 0x10
jmp 0x409aa5
push esi
lea ecx, [ebp - 0x255]
call fcn.00409b5b
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4099ee
push dword [ebp - 0x25c]
jmp 0x40999b
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x409a2b
cmp word [ebp - 0x226], 0
je 0x409a4c
cmp word [ebp - 0x226], ax
jne 0x409a2b
cmp word [ebp - 0x224], 0
je 0x409a4c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040988a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x409a98
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x409a05
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x409a80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x409aa5
push 0x4096ba
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040c580
add esp, 0x10
jmp 0x409a75
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404704
leave
ret

Function at 0x40b4ea
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x414ff4
push 0x414fec
push str.FlsAlloc
push 0x1f
call fcn.0040b425
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b51e
push dword [ebp + 8]
mov ecx, esi
call dword [0x413120]
call esi
jmp 0x40b524
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b568
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415004
push 0x414ffc
push str.FlsGetValue
push 0x21
call fcn.0040b425
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b59f
push dword [ebp + 8]
mov ecx, esi
call dword [0x413120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40b5a7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41500c
push 0x415004
push str.FlsSetValue
push 0x22
call fcn.0040b425
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b5e1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x413120]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4102a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4102cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4102cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x1cfa0698
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3e3a6f13
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4023b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb7db
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5020a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4024b2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4024bc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049f987
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x517a34]
cmp eax, dword [ecx + 4]
jg 0x4024c6
mov dword [edi + 0x30], 0x502e5c
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x402c90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404bc0
push 0x80004005
call fcn.00404bc0
push 0x517a34
call fcn.0049fd57
add esp, 4
cmp dword [0x517a34], 0xffffffff
jne 0x40248a
push 0x4d6910
mov dword [0x502e5c], 0x64
mov byte [0x502e60], 0
call fcn.0049fc0f
push 0x517a34
call fcn.0049fd0d
add esp, 8
jmp 0x40248a

Function at 0x404640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404699
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404699
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40468a
cmp esi, edx
jae 0x404699
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404678
cmp esi, edx
jae 0x404699
cmp word [esi], 0
je 0x404699
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40db50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xf0], 0
je 0x40dbb4
mov eax, dword [esi + 0xec]
test eax, eax
je 0x40dbb4
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40dbb4
mov eax, dword [esi + 0xec]
push ebx
push edi
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x58]
lea edi, [esi + 0x58]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
test eax, eax
je 0x40dbb2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop ebx
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x40dbce
mov dword [esi + 0xec], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x40dbeb
mov dword [esi + 0x68], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x40dbff
mov dword [esi + 0x6c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x40dc13
mov dword [esi + 0x70], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40dc36
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40dc36
mov dword [esi + 0x64], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x413350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
sub edx, dword [esi + 0x58]
sub ebx, dword [esi + 0x5c]
mov dword [eax], 0
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 0x134]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xba2e8ba3
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0
test eax, eax
je 0x41344b
xor edi, edi
push ebx
lea eax, [ecx + 8]
push edx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ebx, dword [ebp + 0x14]
test eax, eax
je 0x413415
mov eax, dword [esi + 0x134]
cmp dword [eax + edi + 0x20], 0
je 0x413415
push 1
mov dword [ebx], 1
mov eax, dword [esi + 0x134]
push 0
push 0
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x138]
add edi, 0x2c
mov ecx, dword [esi + 0x134]
sub eax, ecx
mov edx, dword [esp + 0xc]
sar eax, 2
inc edx
imul eax, eax, 0xba2e8ba3
mov dword [esp + 0xc], edx
cmp edx, eax
jae 0x413446
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x4133d3
cmp dword [ebx], 0
jne 0x413458
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422df0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5020a8]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 0x5f7
je 0x422f04
cmp eax, 0x5f8
je 0x422f04
cmp eax, 0x201
jne 0x422e4b
mov ecx, dword [esi + 0x138]
push 2
mov eax, dword [ecx]
call dword [eax + 0x158]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x202
jne 0x422f96
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esi]
mov dword [esp + 0xc], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 4]
add eax, ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
test eax, eax
je 0x422f8e
push 1
call dword [edx + 0x158]
push ecx
mov ecx, esi
call fcn.004216e0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x14
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov edx, dword [esp + 0x10]
push dword [esp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
push dword [esp + 8]
add eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
test eax, eax
je 0x422f8e
push 1
jmp 0x422f90
push 0
call dword [edx + 0x158]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x423d80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd025
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5020a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x15c], 0
je 0x423dfb
call fcn.00404de0
test eax, eax
je 0x423ed1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x4e57a0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00404740
test al, al
jne 0x423eb1
push 0
push 0x4e57a0
mov ecx, esi
call fcn.00404a10
jmp 0x423eb1
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x423ed1
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
push dword [edi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x423ec7
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x423e50
push ebx
lea ecx, [ebp - 0x10]
call fcn.00404970
mov esi, dword [ebp - 0x10]
push ebx
push esi
push dword [edi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x423e6f
push dword [esi - 8]
push esi
call fcn.004a9817
add esp, 8
test eax, eax
js 0x423ec7
cmp eax, dword [esi - 8]
jg 0x423ec7
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edi, [esi - 0x10]
mov word [esi + eax*2], cx
push edi
call fcn.00404520
mov esi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x423eb1
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404bc0
push 0x80004005
call fcn.00404bc0
int3
Function at 0x42b3d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x84], eax
je 0x42b439
mov dword [edi + 0x84], eax
push esi
mov esi, dword [edi + 0x34]
cmp esi, dword [edi + 0x38]
je 0x42b422
mov ecx, dword [esi]
test ecx, ecx
je 0x42b41a
cmp dword [edi + 0x84], 0
je 0x42b40f
cmp dword [edi + 0x88], 0
je 0x42b40f
mov edx, 1
jmp 0x42b411
xor edx, edx
mov eax, dword [ecx]
push edx
call dword [eax + 0xd4]
add esi, 4
cmp esi, dword [edi + 0x38]
jne 0x42b3f0
mov ecx, dword [edi + 0x40]
pop esi
test ecx, ecx
je 0x42b42f
call fcn.00406640
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x134]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd0]
mov edx, dword [edi]
mov ecx, edi
test eax, eax
je 0x42b461
push 5
call dword [edx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 4
push 0
call dword [edx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x42b480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x88], eax
je 0x42b4dd
mov dword [edi + 0x88], eax
push esi
mov esi, dword [edi + 0x34]
cmp esi, dword [edi + 0x38]
je 0x42b4d2
mov ecx, dword [esi]
test ecx, ecx
je 0x42b4ca
cmp dword [edi + 0x84], 0
je 0x42b4bf
cmp dword [edi + 0x88], 0
je 0x42b4bf
mov edx, 1
jmp 0x42b4c1
xor edx, edx
mov eax, dword [ecx]
push edx
call dword [eax + 0xd4]
add esi, 4
cmp esi, dword [edi + 0x38]
jne 0x42b4a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x134]
pop esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd0]
mov edx, dword [edi]
mov ecx, edi
test eax, eax
je 0x42b505
push 5
call dword [edx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 4
push 0
call dword [edx + 0x13c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x42bdc0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x88]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0042d150
mov ecx, eax
test ecx, ecx
jne 0x42bde4
mov eax, 0x80004005
pop esi
ret
lea eax, [esi + 0x108]
push eax
call fcn.0042d090
test eax, eax
je 0x42bdff
push 0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x110], 0
xor eax, eax
pop esi
ret
Function at 0x42be10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x5020a8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42be5d
push eax
push ecx
mov eax, esp
push 0
push SysReAllocString
push 0
push ecx
mov dword [eax], 0
mov ecx, esi
mov eax, esp
push edi
mov dword [eax], 0
call fcn.0040c380
cmp byte [ebp + 0x1c], 0
je 0x42be6f
mov ecx, dword [esi + 0x30]
lea eax, [ebp + 0xc]
push eax
call fcn.00425050
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x8c]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x42be97
mov eax, dword [ebp + 0xc]
sub ecx, eax
push 1
push dword [esp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
jmp 0x42beec
push 0
push edi
mov dword [esp + 0x20], 0x68
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
lea eax, [ebx + ecx]
cmp eax, edx
jle 0x42becd
mov ecx, edx
sub ecx, ebx
mov dword [ebp + 0xc], ecx
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
lea eax, [edi + edx]
cmp eax, dword [esp + 0x38]
jle 0x42bee6
mov edx, dword [esp + 0x38]
sub edx, edi
mov dword [ebp + 0x10], edx
push 1
push edi
push ebx
push edx
push ecx
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
cmp dword [esi + 0x10c], 0
jne 0x42bf56
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0042d150
mov edi, eax
test edi, edi
je 0x42bf70
cmp dword [esi + 0x110], 0
je 0x42bf3c
lea ecx, [esi + 0x108]
push ecx
mov ecx, edi
call fcn.0042d090
lea eax, [esi + 0x108]
mov ecx, edi
push eax
call fcn.0042d000
mov dword [esi + 0x110], 1
jmp 0x42bf70
mov ecx, dword [esi + 0x12c]
mov edx, 0x6a4
mov dword [esi + 0x10c], 0
call fcn.004318b0
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4315d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce62d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5020a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.004a1810
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004b2ee9
add esp, 4
call fcn.004b2ec8
mov esi, eax
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x431757
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_timer_lu
push eax
call fcn.0041a0f0
mov eax, dword [ebp - 0x10]
mov edx, 0x506e70
mov edi, eax
add esp, 0xc
mov esi, 0x104
sub edi, edx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x431691
movzx ecx, word [edi + edx]
test cx, cx
je 0x431691
mov word [edx], cx
add edx, 2
sub esi, 1
jne 0x431673
lea ecx, [edx - 2]
mov dword [ebp - 4], 0xffffffff
test esi, esi
cmovne ecx, edx
xor edx, edx
mov word [ecx], dx
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4316bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov dword [ebp - 0x18], 0x506e70
mov dword [ebp - 0x38], 0x431300
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x4e76d8
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x506c5c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x517520]
mov dword [0x502bd0], 0
sub eax, dword [0x51751c]
je 0x431744
push 0
push 0x32
push 1
push dword [0x506c5c]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x502bd0], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404bc0
int3
Function at 0x434070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x124], 0
mov dword [esi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esi + 0x144], eax
mov dword [esi + 0x148], 1
call fcn.00434210
add esi, 0x11c
mov dword [ebp + 0xc], esi
call fcn.0044d710
mov edi, eax
test esi, esi
je 0x43413d
push ebx
lea ebx, [edi + 0x10c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x100]
lea edx, [edi + 0xfc]
mov ecx, dword [edx]
cmp ecx, eax
je 0x4340ef
cmp dword [ecx], esi
je 0x43410b
add ecx, 4
cmp ecx, eax
jne 0x4340e4
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x4340ff
mov dword [eax], esi
add dword [edx + 4], 4
jmp 0x43410b
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, edx
call fcn.0044d800
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [edi + 0x108], 0
pop ebx
jne 0x43413d
push 0
push 0
push edi
push 0x44d6b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x108], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 8