joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4309d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469028
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042b2d0
test eax, eax
je 0x430ad8
lea ecx, [esp + 0xc]
call fcn.00406e30
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042b2d0
mov ecx, eax
call fcn.00428a90
test eax, eax
je 0x430abf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x430abf
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x430abf
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00407030
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x430aa1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x430abf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x869cb0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x840070
call fcn.00407030
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x430b20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042b2d0
test eax, eax
je 0x430c0f
mov ecx, edi
call fcn.0042b2d0
mov ecx, eax
call fcn.00428940
test eax, eax
jne 0x430c0f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x430c0f
mov eax, dword [0x869cb0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x430b82
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042b2d0
mov ecx, eax
call fcn.00428b70
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x430c0f
cmp ebx, eax
jne 0x430c0f
cmp dword [esp + 0x10], eax
jne 0x430bf5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x433840
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4692b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x433879
inc eax
mov dword [esi + 0x10], eax
jmp 0x43398c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43388d
mov eax, 0xffffffc7
jmp 0x43398e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43389e
cmp dword [esi + 8], eax
jne 0x43388d
cmp dword [esi + 8], eax
jne 0x4338b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4338b7
mov eax, 0xffffffc7
jmp 0x43398e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4338cb
push eax
mov ecx, ebx
call fcn.00433070
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00406e30
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4338fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00406e50
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004327e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43392f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x840070
call fcn.00407030
mov eax, dword [esp + 0x38]
jmp 0x43398e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004336a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433973
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004336c0
mov esi, eax
test esi, esi
jne 0x4339a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004336a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433945
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x840070
call fcn.00407030
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x840070
call fcn.00407030
mov eax, esi
jmp 0x43398e

Function at 0x436a70
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436ad0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436ad0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436ad0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436ad0
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 0x436b10
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 0x43c9e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4698e8
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.00462b02
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043c380
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.00462a30
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.0045f2f4
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.0045f2f4
push 1
push 0
push 0
mov ecx, esi
call fcn.0045f29c
push 1
push 0
push 1
mov ecx, esi
call fcn.0045f29c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462b74
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43cb60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469908
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.00462b02
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043c380
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.00462a30
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 0x43cc24
cmp dword [esp + 0x40], 1
jne 0x43cc22
cmp ecx, eax
jge 0x43cc24
mov eax, ecx
cmp eax, 0xc8
jge 0x43cc30
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043c9e0
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.00462b74
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43d3b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469973
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.0045d714
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.00462daa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004642c6
test eax, eax
je 0x43d4cc
mov ecx, dword [esp + 0x3c]
call fcn.00462dd7
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 0x43d490
push edi
mov ecx, esi
call fcn.0046043b
mov ecx, esi
call fcn.0043d630
cmp dword [esp + 0x38], 1
jne 0x43d4c5
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.00460576
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 0x43fef0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ff23
push esi
call fcn.00442fe0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ff1c
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 0x43ffa9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ff92
mov eax, dword [esi + 8]
test eax, eax
je 0x43ff47
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 0x43ff8e
cmp eax, 2
je 0x43ff92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ff3a
cmp eax, 3
je 0x43ff6d
cmp eax, 1
jne 0x43ff3a
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 0x43ff3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ff3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ffd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ffb8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ffd0
add esp, 4
pop esi
ret

Function at 0x45e50a
Capabilities:
Get graphical window text

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

Function at 0x45fbf8
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 0x45fc3a
call fcn.004656b1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45fc3a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45fc31
xor eax, eax
jmp 0x45fc42
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045fc48
pop edi
pop esi
pop ebx
ret 4

Function at 0x465be1
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 0x465c0f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x465c2d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00465b47
jmp 0x465c2d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465c2d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00465b47
test edi, edi
mov eax, edi
jne 0x465c17
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401073
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push str.NAME
push 0x64
push 0x41ff78
call fcn.0040a0b0
push str.WCLASS_DBC_PLAYERMAIN
push 0x64
mov edi, 0x41feb0
push edi
call fcn.0040a0b0
mov ebx, dword [ebp + 8]
add esp, 0x18
push 0x80
push ebx
mov dword [ebp - 0x4c], 0x30
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40119e
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ebx
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push esi
push ebx
push esi
push esi
push esi
mov eax, SysReAllocStringLen
push eax
push esi
push eax
push 0xcf0000
push 0x41ff78
push edi
push esi
mov dword [0x41feac], ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, esi
je 0x401157
mov ecx, edi
call fcn.00402609
push dword [ebp + 0x14]
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x401181
xor eax, eax
jmp 0x401197
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401181
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x40115b
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x402537
Capabilities:
Hide graphical window

Disassembly:
push ecx
push 0
push dword [0x41fb70]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4200c8]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x44]
mov eax, dword [0x4200c0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
fldz
mov eax, dword [0x4200c0]
mov ecx, dword [eax]
push ecx
push ecx
fstp qword [esp]
push eax
mov dword [0x420048], 3
call dword [ecx + 0x38]
mov eax, dword [0x4200c0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [0x4200c0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
call fcn.004024dc
call fcn.0040247b
mov eax, dword [0x4200c8]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x44]
pop ecx
ret
Function at 0x402609
Capabilities:
Create directory
Create thread
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x41d060]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
push edi
push 0xa
push 0x85
push dword [0x41feac]
mov ebx, ecx
mov dword [0x41fdf0], 0x280
mov dword [0x41fdf4], 0x1e0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
cmp eax, edi
je 0x40265d
push eax
call fcn.0040276e
pop ecx
push edi
lea eax, [ebp - 0x80]
push eax
push 0x41fea8
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
call sub.gdiplus.dll_GdiplusStartup
push edi
push 0xc8
push 0x8084
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00401530
mov esi, 0x41fda2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call fcn.0040a08e
imul eax, ebx
xor edx, edx
push 9
pop ecx
div ecx
add edx, 0x30
mov word [esi], dx
inc esi
inc esi
cmp esi, 0x41fdea
jl 0x402698
push 0x7b
pop eax
push 0x7d
mov word [0x41fda0], ax
pop eax
push 0x2d
mov word [0x41fdea], ax
pop eax
mov ecx, eax
mov word [0x41fdb2], ax
lea eax, [ebp - 0x70]
push eax
push 0x104
mov word [0x41fdd0], cx
mov word [0x41fdc6], cx
mov word [0x41fdbc], cx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.WindowsTemp
lea eax, [ebp - 0x70]
push eax
call esi
push edi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x41951c
lea eax, [ebp - 0x70]
push eax
call esi
push 0x41fda0
lea eax, [ebp - 0x70]
push eax
call esi
lea eax, [ebp - 0x70]
push eax
push 0x41fb98
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push edi
push edi
push section..text
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
mov dword [0x41fb68], eax
pop ebx
call fcn.00409a3a
add ebp, 0x19c
leave
ret

Function at 0x40276e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push dword [esp + 0xc]
push dword [0x41feac]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esp + 0xc]
mov esi, eax
push dword [0x41feac]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, dword [esi]
mov dword [0x41fdf0], eax
mov eax, dword [esi + 4]
mov dword [0x41fdf4], eax
push 0x66
lea eax, [esi + 8]
push eax
push 0x33
push 0x41fdf8
call fcn.00409a49
mov eax, dword [esi + 0xac]
mov dword [0x41fe9c], eax
mov al, byte [esi + 0xb0]
mov byte [0x41fea0], al
mov eax, dword [esi + 0xb4]
add esp, 0x10
add esi, 0x6e
push esi
push 0x41fe5e
mov dword [0x41fea4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [0x41fe9c]
call fcn.00402891
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
ret
Function at 0x402805
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
xor edi, edi
push dword [0x41feac]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp + 8]
mov esi, eax
push dword [0x41feac]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
not byte [esi + 3]
push edi
push 0x80
push 2
push edi
push 7
push 0x40000000
push 0x41fb98
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp ebx, 0xffffffff
jne 0x402885
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
inc edi
jmp 0x402875

Function at 0x4029bf
Capabilities:
Move file

Disassembly:
sub esp, 0x21c
mov eax, dword [0x41d060]
xor eax, esp
mov dword [esp + 0x214], eax
mov al, byte [0x420044]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, 0x41fb98
cmp al, 1
jne 0x402a7c
push esi
lea eax, [esp + 0x1c]
push eax
mov byte [0x420044], 2
call edi
push str..ASF
lea eax, [esp + 0x1c]
push eax
call ebp
push 1
lea eax, [esp + 0x1c]
push eax
push esi
call ebx
mov eax, dword [0x4200bc]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x24]
mov dword [0x420048], 1
call fcn.004024dc
mov eax, dword [0x4200bc]
and dword [esp + 0x14], 0
mov ecx, dword [eax]
push 0x4200c4
push eax
call dword [ecx + 0x38]
mov eax, dword [0x4200c4]
test eax, eax
je 0x402a6c
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x419568
push eax
call dword [ecx]
push 5
push dword [0x41fb70]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402a80
test al, al
je 0x402aef
mov eax, dword [0x4200bc]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x402aef
push 3
pop eax
cmp dword [esp + 0x14], eax
jne 0x402b08
fldz
fcomp qword [0x420050]
fnstsw ax
test ah, 0x44
jp 0x402ada
mov eax, dword [0x4200c4]
mov ecx, dword [eax]
push 0x420050
push eax
call dword [ecx + 0x40]
push esi
lea eax, [esp + 0x1c]
push eax
call edi
push str..ASF
lea eax, [esp + 0x1c]
push eax
call ebp
push 1
push esi
lea eax, [esp + 0x20]
push eax
call ebx
mov eax, dword [0x4200c0]
mov ecx, dword [eax]
push 0x420058
push eax
call dword [ecx + 0x34]
call fcn.0040247b
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409a3a
add esp, 0x21c
ret
cmp dword [esp + 0x14], 1
jne 0x402aef
cmp dword [0x420048], 1
jne 0x402aef
mov dword [0x420048], eax
call fcn.0040247b
call fcn.00402537
jmp 0x402aef
Function at 0x40838b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x408399
push 0xd
pop eax
jmp 0x4083cc
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4083a0
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc