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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c4b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042df00
test eax, eax
je 0x433708
lea ecx, [esp + 0xc]
call fcn.004048f0
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.0042df00
mov ecx, eax
call fcn.0042b6a0
test eax, eax
je 0x4336ef
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4336ef
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4336ef
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.00404af0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4336d1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4336ef
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x49dcc0]
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], 0x473638
call fcn.00404af0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x433750
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042df00
test eax, eax
je 0x43383f
mov ecx, edi
call fcn.0042df00
mov ecx, eax
call fcn.0042b550
test eax, eax
jne 0x43383f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43383f
mov eax, dword [0x49dcc0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4337b2
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.0042df00
mov ecx, eax
call fcn.0042b780
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 0x43383f
cmp ebx, eax
jne 0x43383f
cmp dword [esp + 0x10], eax
jne 0x433825
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 0x436470
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c748
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 0x4364a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4365bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4364bd
mov eax, 0xffffffc7
jmp 0x4365be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4364ce
cmp dword [esi + 8], eax
jne 0x4364bd
cmp dword [esi + 8], eax
jne 0x4364e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4364e7
mov eax, 0xffffffc7
jmp 0x4365be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4364fb
push eax
mov ecx, ebx
call fcn.00435ca0
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.004048f0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43652c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404910
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00435410
test eax, eax
mov dword [esp + 0x38], eax
je 0x43655f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x473638
call fcn.00404af0
mov eax, dword [esp + 0x38]
jmp 0x4365be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004362d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4365a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004362f0
mov esi, eax
test esi, esi
jne 0x4365d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004362d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x436575
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x473638
call fcn.00404af0
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], 0x473638
call fcn.00404af0
mov eax, esi
jmp 0x4365be

Function at 0x439700
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x46cd78
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.004659a1
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043f050
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.004658cf
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.00462193
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.00462193
push 1
push 0
push 0
mov ecx, esi
call fcn.0046213b
push 1
push 0
push 1
mov ecx, esi
call fcn.0046213b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465a13
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f830
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46cd98
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.004659a1
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043f050
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.004658cf
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 0x43f8f4
cmp dword [esp + 0x40], 1
jne 0x43f8f2
cmp ecx, eax
jge 0x43f8f4
mov eax, ecx
cmp eax, 0xc8
jge 0x43f900
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043f6b0
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.00465a13
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x440080
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ce03
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.004605b3
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.00465c49
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467165
test eax, eax
je 0x44019c
mov ecx, dword [esp + 0x3c]
call fcn.00465c76
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 0x440160
push edi
mov ecx, esi
call fcn.004632da
mov ecx, esi
call fcn.00440300
cmp dword [esp + 0x38], 1
jne 0x440195
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.00463415
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 0x442bc0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442bf3
push esi
call fcn.00445cb0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x442bec
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 0x442c79
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442c62
mov eax, dword [esi + 8]
test eax, eax
je 0x442c17
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 0x442c5e
cmp eax, 2
je 0x442c62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x442c0a
cmp eax, 3
je 0x442c3d
cmp eax, 1
jne 0x442c0a
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 0x442c0a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x442c0a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442ca0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442c88
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442ca0
add esp, 4
pop esi
ret

Function at 0x4613a9
Capabilities:
Get graphical window text

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

Function at 0x462a97
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 0x462ad9
call fcn.00468550
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 0x462ad9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462ad0
xor eax, eax
jmp 0x462ae1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00462ae7
pop edi
pop esi
pop ebx
ret 4

Function at 0x468a80
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 0x468aae
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468acc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004689e6
jmp 0x468acc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468acc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004689e6
test edi, edi
mov eax, edi
jne 0x468ab6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402f6a
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x402f97
mov ecx, dword [0x423ed8]
push edi
add eax, ecx
push edi
push eax
mov dword [0x41703c], eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00403095
cmp eax, edi
jl 0x40308e
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x409018]
call ebx
test eax, eax
je 0x40308b
cmp dword [ebp - 4], esi
jne 0x40308b
push dword [ebp + 8]
add dword [0x41703c], esi
call fcn.00403095
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x40308e
cmp dword [ebp + 0x10], edi
jne 0x40305a
cmp dword [ebp + 8], edi
jle 0x403086
mov esi, 0x413038
mov edi, 0x35104000
cmp dword [ebp + 8], edi
jge 0x40300a
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x409018]
call ebx
test eax, eax
je 0x40308b
cmp edi, dword [ebp - 4]
jne 0x40308b
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403056
cmp dword [ebp + 0x14], edi
jne 0x403056
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x41703c], eax
cmp dword [ebp + 8], 0
jg 0x402ffd
jmp 0x403086
push 0xfffffffffffffffe
jmp 0x40308d
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403065
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x409018]
call ebx
test eax, eax
je 0x40308b
mov eax, dword [ebp - 4]
add dword [0x41703c], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x40308e
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x401570
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push edi
push 0x43b998
push str..FtpAdr.lit
mov edi, ecx
call fcn.00416f40
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
pop ecx
pop ecx
jne 0x40159e
push ebx
push ebx
push str.FtpAdr.lit_File_Load_Fail
call fcn.00430bab
xor eax, eax
jmp 0x4015f0
mov eax, dword [edi + 0x70]
push esi
xor esi, esi
cmp byte [eax + 4], bl
jbe 0x4015d1
lea eax, [ebx + eax + 0xed8]
push eax
push str._s_r_n
push ebp
call fcn.00417125
mov eax, dword [edi + 0x70]
movzx ecx, byte [eax + 4]
add esp, 0xc
inc esi
add ebx, 0x100
cmp esi, ecx
jl 0x4015a9
mov eax, dword [edi + 0x70]
shl esi, 8
lea eax, [esi + eax + 0xed8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
call fcn.00416e35
pop ecx
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
pop ebx
ret
Function at 0x403ef9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
cmp dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jle 0x403f5f
mov edx, dword [ebp + 0x10]
push ebx
movzx ebx, byte [ebp + 8]
shl ebx, 1
sub edx, dword [ebp + 0x14]
push esi
mov dword [ebp - 4], eax
push edi
mov dword [ebp + 8], edx
mov esi, dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
lea edi, [eax + ecx]
cdq
mov ecx, 0x100
idiv ecx
mov ecx, dword [ebp - 8]
mov eax, esi
shl edx, 1
sub eax, edx
mov al, byte [eax + 0x1ff]
movzx edx, byte [ecx + 8]
xor al, byte [esi + edx*2]
mov edx, dword [ebp + 8]
xor al, byte [edx + edi]
xor al, byte [ebx + esi + 1]
mov byte [edi], al
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jl 0x403f1d
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x404cee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404d03
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x404d15
xor eax, eax
jmp 0x404d47
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x404d39
cmp esi, eax
jae 0x404d11
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404d2b
cmp esi, eax
jae 0x404d11
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x405035
Capabilities:
Delete file

Disassembly:
mov eax, 0x4393b9
call fcn.00416cd8
sub esp, 0x628
mov eax, dword [0x44c608]
push ebx
xor eax, ebp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x610], bl
mov ecx, 0xff
lea edi, [ebp - 0x60f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x624]
stosb byte es:[edi], al
call fcn.0042b3e5
fld dword [ebp + 8]
push 0x3f
pop ecx
xor eax, eax
mov byte [ebp - 0x210], bl
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
push ecx
stosw word es:[edi], ax
push ecx
stosb byte es:[edi], al
fstp qword [esp]
lea eax, [ebp - 0x210]
push str.._temp_.5f.zip
push eax
mov dword [ebp - 4], ebx
call fcn.00417512
add esp, 0x10
push ebx
push 0x1001
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x624]
call fcn.0042b68d
test eax, eax
jne 0x405106
mov ecx, 0x44d594
call fcn.00401881
push ebx
push ebx
push 0xb
lea ecx, [esi + 0xcbc]
call fcn.00404a61
push eax
call fcn.00430bab
push 0x44d59c
mov dword [esi], ebx
mov dword [esi + 0x72dc], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x405224
push 0x3f
pop ecx
mov byte [ebp - 0x110], bl
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
mov dword [ebp - 0x614], ebx
stosb byte es:[edi], al
push 1
mov esi, str.._temp_.5f__d.m_.2d
jmp 0x4051e0
lea ecx, [ebp - 0x634]
call fcn.0042b3e5
push ebx
push ebx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 1
call fcn.0042b68d
test eax, eax
lea ecx, [ebp - 0x634]
je 0x40521c
mov edi, 0x400
jmp 0x405183
movzx eax, ax
push eax
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x624]
call fcn.0042b133
lea ecx, [ebp - 0x634]
lea eax, [ebp - 0x610]
push edi
push eax
call fcn.0042b0f3
cmp ax, bx
jne 0x405167
lea ecx, [ebp - 0x634]
call fcn.0042b383
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [ebp - 0x614]
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], bl
call fcn.0042b424
push 0x3f
xor eax, eax
pop ecx
mov byte [ebp - 0x110], bl
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x614]
push eax
inc eax
push eax
fld dword [ebp + 8]
push ecx
push ecx
fstp qword [esp]
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00417512
lea eax, [ebp - 0x110]
push 6
push eax
call fcn.00417be4
add esp, 0x20
cmp eax, 0xffffffff
jne 0x40512f
lea ecx, [ebp - 0x624]
call fcn.0042b383
jmp 0x405224
mov byte [ebp - 4], bl
call fcn.0042b424
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.0042b424
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004160e8
leave
ret
Function at 0x4066a4
Capabilities:
Create process on windows
Delete file
Terminate process

Disassembly:
sub esp, 0x104
mov eax, dword [0x44c608]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x114]
xor ebx, ebx
cmp dword [esi], ebx
mov dword [esp + 0x10c], eax
jne 0x4066cf
xor eax, eax
jmp 0x406844
push edi
push esi
call fcn.00405c83
xor edi, edi
inc edi
cmp eax, edi
pop ecx
jne 0x406817
push esi
call fcn.0040685c
test eax, eax
pop ecx
je 0x406824
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0x44d594
mov ebp, 0x44d59c
jmp 0x406772
cmp dword [esi], 1
jne 0x406841
push esi
call fcn.00405f06
cmp dword [esi], 1
pop ecx
mov byte [esi + 0x72e8], 1
jne 0x406841
push esi
call fcn.00406012
cmp dword [esi], 1
pop ecx
mov byte [esi + 0x72e8], 1
jne 0x406841
mov ecx, ebx
call fcn.00401881
lea ecx, [esi + 0xb0]
xor edx, edx
mov dx, word [ecx]
movzx eax, dx
add eax, 0xf
lea eax, [eax + eax*2]
push ebp
inc edx
fld dword [esi + eax*4]
mov word [ecx], dx
fstp dword [esi + 8]
call edi
cmp dword [esi], 1
jne 0x406841
push esi
call fcn.00404d79
pop ecx
fld dword [esi + 0xc]
fld dword [esi + 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x406703
mov ecx, ebx
call fcn.00401881
xor ebx, ebx
push ebp
mov dword [esi], ebx
call edi
push str.version_info.lit
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
cmp byte [esi + 0x72e8], 1
jne 0x406814
push 0x3f
pop ecx
mov byte [esp + 0x10], al
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x7b]
stosw word es:[edi], ax
push ecx
lea eax, [esi + 0xa0]
mov ebp, dword [eax]
lea edi, [esi + 0x45]
push edi
push ebp
push ecx
call fcn.00416100
pop ecx
push eax
push edi
call fcn.00416100
pop ecx
push eax
push ebp
call fcn.00416100
pop ecx
push eax
lea eax, [esp + 0x28]
push str._02d_02d_02d_s_s_s
push eax
call fcn.00417512
add esp, 0x20
push 1
push ebx
lea eax, [esp + 0x18]
push eax
push str.Mixer.exe
push str.open
push dword [esi + 0x72e4]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
inc eax
jmp 0x406843
push ebx
push 0x30
push str.Version_DownLoad_Fail_
call fcn.00430bab
mov ecx, 0x44d594
call fcn.00401881
push 0x44d59c
mov dword [esi + 0x72dc], edi
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
mov ecx, dword [esp + 0x10c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004160e8
add esp, 0x104
ret