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

Disassembly:
push 0xffffffffffffffff
push 0x4c6598
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.004be9ae
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00468590
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.004be8dc
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.004bb1a0
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.004bb1a0
push 1
push 0
push 0
mov ecx, esi
call fcn.004bb148
push 1
push 0
push 1
mov ecx, esi
call fcn.004bb148
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004bea20
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x468d70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c65b8
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.004be9ae
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00468590
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.004be8dc
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 0x468e34
cmp dword [esp + 0x40], 1
jne 0x468e32
cmp ecx, eax
jge 0x468e34
mov eax, ecx
cmp eax, 0xc8
jge 0x468e40
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00468bf0
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.004bea20
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4695b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c6623
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.004b95bd
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.004bec56
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004c0172
test eax, eax
je 0x4696cc
mov ecx, dword [esp + 0x3c]
call fcn.004bec83
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 0x469690
push edi
mov ecx, esi
call fcn.004bc2eb
mov ecx, esi
call fcn.00469830
cmp dword [esp + 0x38], 1
jne 0x4696c5
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.004bc426
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 0x46c100
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46c133
push esi
call fcn.0047a450
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46c12c
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 0x46c1b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46c1a2
mov eax, dword [esi + 8]
test eax, eax
je 0x46c157
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 0x46c19e
cmp eax, 2
je 0x46c1a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46c14a
cmp eax, 3
je 0x46c17d
cmp eax, 1
jne 0x46c14a
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 0x46c14a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46c14a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046c1e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46c1c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046c1e0
add esp, 4
pop esi
ret

Function at 0x46ca60
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46ca81
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x46ca81
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46ca81
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 0x48c850
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x48c89c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x48c89c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x48c886
push eax
call ebp
test ax, ax
jl 0x48c894
inc esi
add edi, 4
cmp esi, 6
jb 0x48c878
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0048c550
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x48f010
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x48f070
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48f070
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x48f070
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x48f070
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x48f080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x492aa0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x526528]
xor edx, edx
cmp eax, edx
jne 0x492ac6
xor eax, eax
mov byte [eax + 0x526428], al
inc eax
cmp eax, 0x100
jl 0x492aae
mov dword [0x526528], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x526428
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x492b57
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x492b2a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x492af8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x492b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x492bb3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x492b9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x499570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6e4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00499e90
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4dfc1c
call fcn.004b7d26
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x499603
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b7d26
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4995fc
push 0
mov ecx, eax
call fcn.004906e0
mov dword [esi + 0xc], eax
jmp 0x499605
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x499605
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4ba3b3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ba3eb
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.004b8440
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b8418
jmp 0x4ba3f7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4bbaa8
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 0x4bbaea
call fcn.004c16e3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4bbaea
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4bbae1
xor eax, eax
jmp 0x4bbaf2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004bbaf8
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c1c13
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 0x4c1c41
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c1c5f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c1b79
jmp 0x4c1c5f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c1c5f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c1b79
test edi, edi
mov eax, edi
jne 0x4c1c49
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x418bf3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41f030]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
lea ebx, [esi + 0x20]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebx], eax
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CDlgTips.0
mov edx, dword [0x420a5c]
mov eax, dword [edx + 0xc]
mov ecx, 0x420a5c
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x1c], 1
fldz
fst dword [esi + 0x38]
xor ebp, ebp
fst dword [esi + 0x34]
fst dword [esi + 0x30]
fstp dword [esi + 0x2c]
mov dword [esi + 0x24], edi
cmp dword [0x420290], edi
jne 0x4013f6
mov dword [0x420290], edi
push ebx
push 0x4209ec
mov ebx, 0x420260
call fcn.00402060
add esp, 8
push edi
push 0x8000080
push 0x80000000
movzx ebx, ax
push edi
push ebp
mov eax, esi
call fcn.00401f90
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x401520
Capabilities:
Hide graphical window

Disassembly:
push ebx
test eax, eax
je 0x40155c
cmp dword [esi + 0x24], eax
je 0x401589
push 0
push 0x258
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x41afec
lea eax, [esi + 0x28]
xor ebx, ebx
call fcn.00401c20
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
mov edx, dword [esi + 4]
push 1
push edx
mov dword [esi + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0x41afec
lea eax, [esi + 0x28]
xor ebx, ebx
call fcn.00401c20
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret

Function at 0x401590
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push ebx
push 1
push eax
mov dword [esi + 0x24], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0x41afec
lea eax, [esi + 0x28]
xor ebx, ebx
call fcn.00401c20
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret

Function at 0x402280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402297
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4022c8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4022c4
cmp esi, eax
jae 0x4022c8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4022b4
cmp esi, eax
jb 0x4022ce
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x402ac0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x418b80
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x41f030]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
push edi
mov eax, dword [0x41f030]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
xor ecx, ecx
xor edi, edi
push 0xffffffffffffffff
mov word [esp + 0x54], cx
add eax, 0xa8
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], edi
call fcn.004030b0
push 1
mov eax, 0x41b03c
lea ecx, [esp + 0x50]
mov dword [esp + 0x94], edi
call fcn.00402fd0
push 0xe
mov eax, 0x41b040
lea ecx, [esp + 0x50]
call fcn.00402fd0
mov eax, dword [esp + 0x50]
mov ebx, 8
cmp dword [esp + 0x64], ebx
jae 0x402b5b
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402b80
cmp dword [esp + 0x64], ebx
jb 0x402b79
mov edx, dword [esp + 0x50]
push edx
call fcn.0040b187
add esp, 4
xor eax, eax
jmp 0x402c76
xor eax, eax
mov word [esp + 0x6c], ax
push 0x1c
mov eax, str._needpop__infopage_download
lea esi, [esp + 0x6c]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], edi
call fcn.00403480
push 6
mov eax, str.300137
mov ecx, esi
mov byte [esp + 0x94], 1
call fcn.00402fd0
push 0xe
mov eax, str.__openfromsdk
mov ecx, esi
call fcn.00402fd0
push 0x38
lea ecx, [esp + 0x18]
push edi
push ecx
mov dword [esp + 0x1c], 0x3c
call fcn.0040bea0
add esp, 0xc
cmp dword [esp + 0x64], ebx
jb 0x402bf5
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], edx
jmp 0x402bfd
lea eax, [esp + 0x50]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x80], ebx
jb 0x402c10
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x24], ecx
jmp 0x402c18
lea edx, [esp + 0x6c]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], 5
mov dword [esp + 0x20], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
cmp dword [esp + 0x80], ebx
jb 0x402c4b
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0040b187
add esp, 4
xor edx, edx
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], dx
cmp dword [esp + 0x64], ebx
jb 0x402c74
mov eax, dword [esp + 0x50]
push eax
call fcn.0040b187
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0040b192
add esp, 0x84
ret 4
Function at 0x404210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x418cc8
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x41f030]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
push 0
push 0
push ebx
push eax
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push 0x5000000b
push 0x41afec
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
lea edi, [esi + 0x34]
lea eax, [esp + 0x2c]
mov dword [esi + 0x30], edx
call fcn.00401bc0
mov dword [esi + 0x20], ebx
mov eax, dword [0x420154]
mov dword [esi + 8], eax
mov ecx, dword [0x420158]
mov dword [esi + 0xc], ecx
mov edx, dword [0x42015c]
mov dword [esi + 0x10], edx
mov eax, dword [0x420160]
mov edx, dword [esi + 4]
push 0x404330
mov dword [esi + 0x14], eax
mov ecx, dword [0x420164]
push 0xfffffffffffffffc
push edx
mov dword [esi + 0x18], ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
push str.SoftMgr_Sdk_Wnd
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404313
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0xc
ret 0x18