joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44feb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b7998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004b00af
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044f810
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004affdd
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004ac8a3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004ac8a3
push 1
push 0
push 0
mov ecx, esi
call fcn.004ac84b
push 1
push 0
push 1
mov ecx, esi
call fcn.004ac84b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b0121
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x450030
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b79b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004b00af
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044f810
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004affdd
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4500f4
cmp dword [esp + 0x40], 1
jne 0x4500f2
cmp ecx, eax
jge 0x4500f4
mov eax, ecx
cmp eax, 0xc8
jge 0x450100
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044feb0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b0121
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4508f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b7a63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004aacbe
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004b0357
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004b1873
test eax, eax
je 0x450a0c
mov ecx, dword [esp + 0x3c]
call fcn.004b0384
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4509d0
push edi
mov ecx, esi
call fcn.004ad9ea
mov ecx, esi
call fcn.00450bb0
cmp dword [esp + 0x38], 1
jne 0x450a05
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004adb25
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x452bf0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x452c23
push esi
call fcn.00460fa0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x452c1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x452ca9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x452c92
mov eax, dword [esi + 8]
test eax, eax
je 0x452c47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x452c8e
cmp eax, 2
je 0x452c92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x452c3a
cmp eax, 3
je 0x452c6d
cmp eax, 1
jne 0x452c3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x452c3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x452c3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00452cd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x452cb8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00452cd0
add esp, 4
pop esi
ret

Function at 0x453550
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x453571
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x453571
mov eax, dword [eax + 0x44]
test eax, eax
je 0x453571
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x471d10
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x471db3
test eax, eax
jbe 0x471db3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x471db3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x471d5e
xor esi, esi
jmp 0x471d64
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x471d8f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004738e0
add esi, eax
push esi
mov ebx, esi
call fcn.004738e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x471d70
pop ebp
test edi, edi
pop edi
jne 0x471db3
test ebx, ebx
je 0x471db3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00487e50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x471ed5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x471fed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x471fed
mov eax, dword [esi + 0x3c]
push eax
call fcn.004ab110
mov esi, eax
test esi, esi
je 0x471fed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x471fed
mov ecx, esi
call fcn.00471e60
cmp edi, eax
jge 0x471fed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x471f73
mov dword [esp + 0x34], 1
jmp 0x471fce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x471fed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004706f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x476cd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b8398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004770c0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5e9b84
call fcn.00489678
mov ecx, dword [0x4c656c]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00474420
mov esi, 0x4c65c4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x476d77
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x476d6e
cmp al, 0xff
je 0x476d6e
dec al
mov byte [ecx], al
jmp 0x476d77
push ecx
call fcn.004a9450
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004a5700
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x476dbd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x476db4
cmp al, 0xff
je 0x476db4
dec al
mov byte [ecx], al
jmp 0x476dbd
push ecx
call fcn.004a9450
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004896ff
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x49fd60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b93e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00494a63
mov eax, dword [0x590d90]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00494995
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004a0840
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x49fe07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49fdfe
cmp al, 0xff
je 0x49fdfe
dec al
mov byte [ecx], al
jmp 0x49fe07
push ecx
call fcn.004a9450
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x49fe38
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49fe2f
cmp al, 0xff
je 0x49fe2f
dec al
mov byte [ecx], al
jmp 0x49fe38
push ecx
call fcn.004a9450
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4abab4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4abaec
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a9b41
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a9b19
jmp 0x4abaf8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ad1a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ad1e9
call fcn.004b2c59
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ad1e9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ad1e0
xor eax, eax
jmp 0x4ad1f1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ad1f7
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b3189
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b31b7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b31d5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b30ef
jmp 0x4b31d5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b31d5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b30ef
test edi, edi
mov eax, edi
jne 0x4b31bf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x25fbc
Capabilities:
Check for software breakpoints

Disassembly:
inc edi
pushfd
push dword [esp]
pushal
lea esp, [esp + 0x28]
jmp fcn.0002789c
cmc
clc
mov byte [esp], al
cmp al, ah
push edx
pushal
push 0x1efd968e
push dword [esp + 4]
lea esp, [esp + 0x30]
jne 0x24a08
pushfd
mov word [esp], 0x9099
lea esp, [esp + 4]
jns 0x28601
inc esi
jmp 0x23b86
call fcn.00025eaa
Function at 0x4c0197e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor ecx, ecx
not eax
cmp dword [ebp + 0xc], ecx
jne 0x4c01991
xor eax, eax
pop ebp
ret
jbe 0x4c019c0
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x4c07130]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x4c07130]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x4c01993
not eax
pop ebp
ret
Function at 0x4017e5
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4177c8
call fcn.004170b0
push ecx
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll___p___argc]
push esi
push edi
call ebx
cmp dword [eax], 2
mov edi, dword [sym.imp.MSVCRT.dll___p___wargv]
jl 0x40189b
call edi
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push dword [eax + 4]
call fcn.00403631
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetResBounds
push eax
mov dword [0x420370], eax
call esi
test eax, eax
mov dword [0x4203a8], eax
jne 0x40184a
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.OnLoad
push dword [0x420370]
call esi
test eax, eax
mov dword [0x4203ac], eax
je 0x401862
call eax
call ebx
cmp dword [eax], 2
jne 0x40188f
push 1
call fcn.0040b0d4
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403a04
push 2
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403a04
call ebx
cmp dword [eax], 3
jl 0x4018b2
call edi
mov eax, dword [eax]
push dword [eax + 8]
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
jmp 0x401880
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402600
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0xffffffff
jne 0x402627
xor eax, eax
push eax
push eax
push esi
push 0x40316a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret
Function at 0x402631
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x417934
call fcn.004170b0
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
cmp ecx, ebx
push edi
mov dword [ebp - 0x18], ecx
jne 0x402654
mov eax, 0x80004005
jmp 0x4027b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x40268a
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x40268a
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
jne 0x4026ae
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x40269d
call esi
jmp 0x4027b4
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x4027b4
mov dword [ebp + 0x10], ebx
lea eax, [ebp + 0x10]
mov dword [ebp - 4], ebx
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
cmp edi, ebx
jl 0x40274d
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x20], eax
xor eax, eax
stosd dword es:[edi], eax
push dword [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edi, eax
cmp edi, ebx
jl 0x40274d
mov eax, dword [ebp + 0x10]
push ebx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x55665566
mov ecx, dword [eax]
push 4
push edx
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, ebx
jl 0x40274d
mov eax, dword [ebp + 0x10]
push ebx
lea edx, [ebp + 0xc]
push 4
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, ebx
jl 0x40274d
mov eax, dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, ebx
jl 0x40274d
mov eax, dword [ebp + 0x10]
xor edx, edx
push ebx
xor ecx, ecx
mov esi, dword [eax]
push ebx
push edx
push ecx
push eax
call dword [esi + 0x14]
mov edi, eax
cmp edi, ebx
jge 0x402762
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40275e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x4027b4
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push 0x41f278
mov eax, dword [eax + 0x20]
mov byte [ebp - 4], 1
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x402791
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4027a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4027b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4046a0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x417b64
call fcn.004170b0
push ecx
mov eax, dword [0x41f020]
push edi
mov dword [ebp - 0x10], eax
push dword [0x420370]
and dword [ebp - 4], 0
call fcn.0040aeac
mov edi, eax
pop ecx
movzx eax, word [ebp + 0xc]
add eax, 0x26a2
lea ecx, [ebp - 0x10]
push eax
call fcn.00403854
push edi
call fcn.0040aeac
pop ecx
push 5
push 0
push dword [ebp - 0x10]
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403a04
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x404723
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x417b7a
call fcn.004170b0
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x234], ebx
jne 0x404805
push 0x720
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x404754
push esi
call fcn.00406506
jmp 0x404756
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x234], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push 0x2afd
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [0x4203a8]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push 9
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x28
push eax
push edx
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00412970
cmp dword [0x41f398], ebx
mov edi, dword [esi + 0x234]
pop ecx
pop ecx
jne 0x4047c7
mov dword [0x41f398], ebx
lea eax, [edi + 0x1c]
push eax
push 0x41f368
push 0x4202e0
call fcn.0040143c
push ebx
push eax
push ebx
push 0x40000
push 0x86000000
lea eax, [ebp - 0x20]
push ebx
push eax
push ebx
mov ecx, edi
call fcn.004016f1
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x234]
push dword [ebp + 8]
call fcn.004071e3
mov eax, dword [esi + 0x234]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 3
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x234]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
cmp dword [ebp + 0x10], ebx
je 0x404846
mov eax, dword [esi + 0x234]
push ebx
push 0x9c48
push 0x111
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push dword [esi + 4]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc