joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404000
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov ebx, eax
xor eax, eax
push 0x7f00
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0x4041c0
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x1b
push 0xe22
push 0x45e920
mov dword [esp + 0x38], eax
call fcn.00433609
mov dword [esp + 0x44], eax
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov edi, dword [esi + 0x30]
neg edi
sbb edi, edi
lea ecx, [esp + 0x10]
and edi, 0xfffc0004
push ecx
add edi, 0x40000
call fcn.0042954a
add esp, 4
push esi
push ebx
push 0
mov dword [esp + 0x54], 0
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x48]
mov eax, dword [eax]
push edx
mov edx, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x38]
push edx
mov edx, dword [esi + 0x34]
push ecx
push edx
push 0x80080000
push eax
push 0x1b
push 0xe22
push 0x45e920
call fcn.00433609
add esp, 0xc
push eax
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x68], eax
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404135
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x68]
test eax, eax
je 0x404197
movzx ecx, byte [esi + 0xaf]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0xaf], 0
je 0x404179
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x68]
push 0
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
test eax, eax
je 0x404197
push 1
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [esi + 0x9c]
push eax
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404fd0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
push esi
mov esi, eax
push edi
lea eax, [esp + 0x10]
push eax
call ebx
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push eax
push ecx
lea edx, [esi + 0xb4]
push edx
call edi
test eax, eax
je 0x40502c
cmp byte [esi + 0x112], 0
je 0x4050b1
call fcn.004042e0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
cmp byte [esi + 0x112], 0
je 0x4050b1
cmp byte [esi + 0xae], 0
je 0x405078
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esi + 0xd4]
push edx
call edi
test eax, eax
je 0x405078
mov eax, dword [esi + 0x68]
push 0x101
push 0
push 0
push eax
mov byte [esi + 0xae], 0
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
cmp byte [esi + 0x112], 0
je 0x4050b1
cmp byte [esi + 0xae], 0
jne 0x4050b1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esi + 0xc4]
push eax
call edi
test eax, eax
je 0x4050b1
mov eax, esi
call fcn.00404410
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0xac], 1
add esi, 0xa4
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret

Function at 0x409a70
Capabilities:
Enumerate gui resources

Disassembly:
mov ecx, 0x472a10
call fcn.00402b00
mov ecx, 0x472a0c
call fcn.00402b00
xor eax, eax
push eax
push 0x409af0
push eax
mov word [0x4729f0], ax
call dword [sym.imp.KERNEL32.DLL_EnumResourceTypesA]
mov ecx, dword [0x472a0c]
cmp dword [ecx - 0xc], 0
jle 0x409ae0
xor edx, edx
cmp dx, word [0x4729f0]
je 0x409ae0
mov ecx, dword [esp + 4]
push ebx
push 0x472a10
mov bl, 1
call fcn.00402d80
mov ecx, dword [esp + 0xc]
push 0x472a0c
call fcn.00402d80
movzx eax, word [0x4729f0]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov al, bl
pop ebx
ret
xor al, al
ret
Function at 0x409b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x456566
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x46f1b0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x1c]
mov esi, edx
call fcn.00402830
mov dword [esp + 0x12c], 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
cmp eax, 4
jne 0x409d27
test esi, 0xffff0000
jne 0x409d27
mov ecx, 0x64
cmp cx, si
ja 0x409d27
mov edx, 0xc8
cmp si, dx
jae 0x409d27
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
setne al
mov byte [esp + 0x17], al
test al, al
je 0x409d2c
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebp, eax
test ebp, ebp
setne al
mov byte [esp + 0x17], al
test al, al
je 0x409d2c
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
test edi, edi
je 0x409d27
cmp ebx, 0x12
jbe 0x409d27
lea eax, [esp + 0x18]
push eax
mov ecx, 0x472a0c
mov byte [esp + 0x1b], 1
call fcn.00402d80
mov edx, dword [0x472a10]
mov eax, dword [edx - 8]
mov word [0x4729f0], si
lea esi, [ebx - 0x12]
mov ecx, 1
sub ecx, dword [edx - 4]
lea ebp, [esi + 1]
add edi, 2
sub eax, ebp
or eax, ecx
lea ebx, [edi + 0x10]
jge 0x409ca9
push ebp
mov ecx, 0x472a10
call fcn.00402fc0
mov edx, dword [0x472a10]
push esi
mov ebp, edx
push ebx
push ebp
call fcn.00442f70
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.0043ddf4
push 0x10
push edi
push esi
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 1
call fcn.0043df19
mov eax, esi
cmp esi, 0xffffffff
jne 0x409cee
mov eax, dword [0x472a10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0044002e
add esp, 8
test eax, eax
jl 0x409d1d
mov ecx, dword [0x472a10]
cmp eax, dword [ecx - 8]
jg 0x409d1d
mov dword [ecx - 0xc], eax
mov ecx, dword [0x472a10]
mov byte [ecx + eax], 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 0
call fcn.0043de0b
jmp 0x409d2c
push 0x80070057
call fcn.00401000
mov byte [esp + 0x17], 0
cmp byte [esp + 0x17], 0
mov dword [esp + 0x12c], 0xffffffff
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409d5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0043ea6a
add esp, 0x11c
ret
Function at 0x40bc40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
mov ebx, eax
add ebx, 4
cmp dword [ebx], 0
push esi
mov byte [esp + 0xb], 0
je 0x40bc66
mov eax, dword [ebx]
test eax, eax
je 0x40bc66
mov dword [ebx], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
movzx ecx, word [esp + 0x10]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
test esi, esi
je 0x40bd34
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x40bd29
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push edi
push 2
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push edi
push ebp
push eax
call fcn.00442f70
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea edx, [esp + 0x1c]
push edx
push 1
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x40bd04
mov eax, dword [esp + 0x1c]
push ebx
push 0x45c630
push 0
push edi
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov bl, 1
test eax, eax
jge 0x40bd08
mov bl, byte [esp + 0x13]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [esp + 0x1c]
pop edi
test eax, eax
je 0x40bd20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebp
pop esi
mov al, bl
pop ebx
pop ecx
ret 8
mov al, byte [esp + 0xf]
pop ebp
pop esi
pop ebx
pop ecx
ret 8
mov al, byte [esp + 0xb]
pop esi
pop ebx
pop ecx
ret 8
Function at 0x40e380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457eab
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x471864
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x20], str.color_btnface
mov dword [esp + 0x28], str.color_btnhighlight
mov dword [esp + 0x30], str.color_btnhilight
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], str.color_btnshadow
mov dword [esp + 0x3c], 0x12
mov dword [esp + 0x40], str.color_btntext
mov dword [esp + 0x44], 9
mov dword [esp + 0x48], str.color_captiontext
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x60], esi
lea ebp, [esp + 0x1c]
cmp eax, str.color_btnface
je 0x40e4d5
mov esi, str.color_btnface
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [0x471864]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x471864
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
push edx
mov eax, ebx
shr eax, 8
movzx ecx, al
push ecx
movzx edx, bl
push edx
push esi
push str._r_n__s_02x_02x_02x
lea edi, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.004056f0
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
add esp, 0x14
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00402a40
lea eax, [esi - 0x10]
mov byte [esp + 0x60], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e4c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 0xc]
add ebp, 8
test esi, esi
jne 0x40e444
mov eax, dword [0x4729fc]
cmp eax, esi
jne 0x40e50c
push 0x9c
call fcn.004402d1
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x60], 2
cmp eax, esi
je 0x40e500
push eax
call fcn.0042868c
jmp 0x40e502
xor eax, eax
mov byte [esp + 0x60], 0
mov dword [0x4729fc], eax
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00428f33
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e53f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ffe0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xfc]
xor esi, esi
cmp edi, esi
jne 0x410100
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00429d2d
mov ecx, dword [eax]
mov eax, dword [esp + 0x20]
add esp, 4
cmp dword [ecx - 0xc], esi
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410030
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4100d8
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x20], esi
call fcn.00429d2d
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
call fcn.00433aea
add esp, 8
test al, al
je 0x41005f
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41007f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp esi, ebx
je 0x4100d1
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], ebx
call fcn.00429d2d
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
call fcn.00433aea
add esp, 8
test al, al
je 0x4100ac
mov bl, byte [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x10
je 0x4100d8
mov eax, 1
jmp 0x4100da
xor eax, eax
push ebp
push 0x4101c0
mov byte [ebp + 0x1ad], al
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp + 0xfc], 0
pop ebx
pop edi
pop esi
setne al
pop ebp
add esp, 8
ret 4
mov edx, dword [ebp + 0x104]
lea ecx, [ebp + 0x104]
cmp dword [edx - 0xc], esi
jne 0x41011c
pop edi
pop esi
mov al, 1
pop ebp
add esp, 8
ret 4
call fcn.00410130
pop edi
pop esi
pop ebp
add esp, 8
ret 4
Function at 0x4125c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457261
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp + 8]
push 0x45e59a
call fcn.00402830
push 7
mov eax, 1
push 0x93c
push str._PH.
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
call fcn.00433609
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402830
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00434e55
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412660
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 8]
cmp dword [ecx - 0xc], edi
je 0x41276c
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], edi
je 0x41276c
push eax
lea ecx, [ebp - 0x18]
call fcn.00402830
mov byte [ebp - 4], 5
mov eax, dword [esi + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402830
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x20]
mov bl, 6
push eax
mov byte [ebp - 4], bl
call fcn.00415bd0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
push 0x45f62c
push ecx
call fcn.0043ebcd
add esp, 8
cmp eax, edi
je 0x4126cd
sub eax, dword [ebp - 0x14]
js 0x4126cd
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402d80
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
je 0x412704
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push ecx
call edi
lea esi, [ebp - 0x18]
call fcn.00415ca0
mov eax, dword [ebp - 0x14]
call fcn.0040ba80
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.00402920
mov eax, dword [esi]
push eax
call edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412726
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412749
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41276c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41278f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415120
Capabilities:
Check for time delay via gettickcount
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x456306
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x46f1b0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
xor ebx, ebx
push 0x3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41518e
xor eax, eax
jmp 0x415313
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x15c], ebx
call fcn.00402b00
mov ebp, 0x128
push ebp
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004424a0
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x2c], ebp
call sub.KERNEL32.DLL_Process32First
cmp eax, ebx
je 0x415277
lea edx, [esp + 0x24]
push edx
push esi
mov dword [esp + 0x2c], ebp
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x415277
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x2c], eax
je 0x4151df
lea ecx, [esp + 0x48]
push 0x5c
push ecx
call fcn.00440a73
add esp, 8
test eax, eax
jne 0x415219
lea eax, [esp + 0x48]
jmp 0x41521a
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.00402830
mov byte [esp + 0x15c], 1
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi]
push 1
push edx
call fcn.00433c88
mov bl, al
mov byte [esp + 0x164], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415267
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4151df
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x14], 0
je 0x4152e4
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebp, dword [esp + 0x164]
mov ebx, eax
imul ebp, ebp, 0x3e8
call edi
sub eax, ebx
cmp eax, ebp
jae 0x4152e4
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov edx, dword [esp + 0x14]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test esi, esi
je 0x4152e4
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
call edi
sub eax, ebx
cmp eax, ebp
jb 0x4152a4
mov dword [esp + 0x15c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41530f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0043ea6a
add esp, 0x14c
ret
Function at 0x41b830
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x34]
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi], 0x45ffd8
cmp eax, ebx
je 0x41b858
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [esi + 0x34]
push eax
call edi
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x68]
cmp eax, ebx
je 0x41b865
push eax
call edi
mov dword [esi + 0x68], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x41b872
push eax
call edi
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x41b885
push eax
call edi
mov dword [esi + 0xa4], ebx
lea ecx, [esi + 0x70]
push ecx
call fcn.0041f840
mov eax, dword [esi + 0x60]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
pop ebx
test ecx, ecx
jg 0x41b8af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x44]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b8ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x40]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b8ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x3c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b90c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 4]
call fcn.00424079
mov dword [esi], vtable.HTMLWindowObserver.0
ret
Function at 0x41c890
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
lea ebp, [esi + 0x60]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0xc], ebx
call fcn.00402b00
cmp dword [esi + 0x34], ebx
je 0x41c8f9
push 0x10
push 0x228
push str._4_P_
call fcn.00433609
add esp, 0xc
cmp eax, ebx
jne 0x41c8d5
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.00402b60
jmp 0x41c97a
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x41c8e0
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.00402b60
jmp 0x41c97a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0xa0], ecx
mov ecx, dword [esi + 0x3c]
push eax
push ecx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x30], 1
call fcn.0043ee67
mov ecx, dword [esi + 0x48]
test eax, eax
setne dl
mov byte [esp + 0x24], dl
mov eax, dword [esp + 0x24]
push eax
push ecx
call fcn.0042bc8a
add esp, 0x10
lea edx, [esi + 0x38]
push edx
push ebx
push esi
push 0x41d190
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0xa4]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [esi + 0xa0]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x68]
push 0xffffffffffffffff
push edx
call ebx
mov eax, dword [ebp]
sub eax, 0x10
push eax
call fcn.00403010
add esp, 4
pop esi
add eax, 0x10
pop ebp
mov dword [edi], eax
mov eax, edi
pop ebx
pop ecx
ret 0xc