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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x466e28
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.004283f0
test eax, eax
je 0x42dbf8
lea ecx, [esp + 0xc]
call fcn.00401af0
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.004283f0
mov ecx, eax
call fcn.00425bc0
test eax, eax
je 0x42dbdf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42dbdf
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42dbdf
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.00401cf0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42dbc1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42dbdf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x495d20]
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], 0x46b3c0
call fcn.00401cf0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42dc40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004283f0
test eax, eax
je 0x42dd2f
mov ecx, edi
call fcn.004283f0
mov ecx, eax
call fcn.00425a70
test eax, eax
jne 0x42dd2f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42dd2f
mov eax, dword [0x495d20]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42dca2
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.004283f0
mov ecx, eax
call fcn.00425ca0
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 0x42dd2f
cmp ebx, eax
jne 0x42dd2f
cmp dword [esp + 0x10], eax
jne 0x42dd15
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 0x430970
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4670b8
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 0x4309a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x430abc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4309bd
mov eax, 0xffffffc7
jmp 0x430abe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4309ce
cmp dword [esi + 8], eax
jne 0x4309bd
cmp dword [esi + 8], eax
jne 0x4309e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4309e7
mov eax, 0xffffffc7
jmp 0x430abe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4309fb
push eax
mov ecx, ebx
call fcn.004301a0
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.00401af0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x430a2c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401b10
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042f910
test eax, eax
mov dword [esp + 0x38], eax
je 0x430a5f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46b3c0
call fcn.00401cf0
mov eax, dword [esp + 0x38]
jmp 0x430abe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004307d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x430aa3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004307f0
mov esi, eax
test esi, esi
jne 0x430ad3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004307d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x430a75
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46b3c0
call fcn.00401cf0
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], 0x46b3c0
call fcn.00401cf0
mov eax, esi
jmp 0x430abe

Function at 0x433bf0
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x4676e8
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.00460643
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00439760
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.00460571
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.0045ce35
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.0045ce35
push 1
push 0
push 0
mov ecx, esi
call fcn.0045cddd
push 1
push 0
push 1
mov ecx, esi
call fcn.0045cddd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004606b5
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x439f40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467708
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.00460643
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00439760
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.00460571
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 0x43a004
cmp dword [esp + 0x40], 1
jne 0x43a002
cmp ecx, eax
jge 0x43a004
mov eax, ecx
cmp eax, 0xc8
jge 0x43a010
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00439dc0
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.004606b5
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43a780
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x467773
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.0045b253
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.004608eb
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00461e07
test eax, eax
je 0x43a89c
mov ecx, dword [esp + 0x3c]
call fcn.00460918
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 0x43a860
push edi
mov ecx, esi
call fcn.0045df7c
mov ecx, esi
call fcn.0043aa00
cmp dword [esp + 0x38], 1
jne 0x43a895
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.0045e0b7
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 0x43d2c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43d2f3
push esi
call fcn.004403c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43d2ec
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 0x43d379
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43d362
mov eax, dword [esi + 8]
test eax, eax
je 0x43d317
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 0x43d35e
cmp eax, 2
je 0x43d362
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43d30a
cmp eax, 3
je 0x43d33d
cmp eax, 1
jne 0x43d30a
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 0x43d30a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43d30a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043d3a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43d388
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043d3a0
add esp, 4
pop esi
ret

Function at 0x45c048
Capabilities:
Get graphical window text

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

Function at 0x45d739
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 0x45d77b
call fcn.004631f7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45d77b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45d772
xor eax, eax
jmp 0x45d783
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045d789
pop edi
pop esi
pop ebx
ret 4

Function at 0x463727
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 0x463755
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x463773
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046368d
jmp 0x463773
mov eax, dword [esi + 0x14]
test eax, eax
je 0x463773
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046368d
test edi, edi
mov eax, edi
jne 0x46375d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1b20058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1b201a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1b2007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b2006a
add dl, dl
jne 0x1b20089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b200dc
xor eax, eax
add dl, dl
jne 0x1b20096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b2017d
add dl, dl
jne 0x1b200a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b200b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b200bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b200c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1b200d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1b20075
mov eax, 1
add dl, dl
jne 0x1b200ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b200f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b200e1
sub eax, ebx
mov ebx, 1
jne 0x1b20128
mov ecx, 1
add dl, dl
jne 0x1b2010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1b20119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b20105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b20075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1b2013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1b2014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b20136
cmp eax, 0x7d00
jae 0x1b2016d
cmp eax, 0x500
jb 0x1b20168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b20075
cmp eax, 0x7f
ja 0x1b20170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b20075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1b2019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1b20075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40241d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
mov al, 0x25
mov dword [ebp - 0xe], 0x665c6125
mov dword [ebp - 0xa], 0x796a7171
xor ecx, ecx
mov word [ebp - 6], 0x78
movsx eax, al
and eax, 0x8000000f
jns 0x40244d
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 8
jae 0x40245c
mov al, byte [ebp - 0xe]
jmp 0x40243e
lea eax, [ebp - 0xd]
mov byte [ebp - 5], 0
push eax
mov edx, 0x41e6b0
lea ecx, [ebp - 0x40]
call fcn.004026c8
mov edi, dword [ebp + 8]
pop ecx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
jmp 0x4024c4
push esi
push ecx
mov edx, 0x87339fd5
lea ecx, [ebp - 0x28]
call fcn.004146c6
pop ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00402714
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00401a42
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.004025ee
call fcn.00414418
add esp, 0x18
lea ecx, [ebp - 0x58]
test eax, eax
jne 0x4024cd
call fcn.00401a42
add esi, 0x30
cmp esi, ebx
jne 0x40247c
jmp 0x4025df
call fcn.00401a42
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.004025ee
call fcn.00414418
add esp, 0x18
test eax, eax
jne 0x402508
mov edx, 0x29158ba4
xor ecx, ecx
call fcn.00404bfc
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
push 0
cmova ecx, dword [ebp - 0x40]
push ecx
call eax
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x4025d7
push esi
push ecx
mov edx, 0x87339fd5
lea ecx, [ebp - 0x70]
call fcn.004146c6
pop ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00402714
pop ecx
lea ecx, [ebp - 0x70]
call fcn.00401a42
lea eax, [esi + 0x18]
push eax
push ecx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.0040273e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00402714
pop ecx
lea ecx, [ebp - 0x70]
call fcn.00401a42
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.004025ee
call fcn.00414418
add esp, 0x18
test eax, eax
je 0x4025c4
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004025ee
call fcn.00414418
add esp, 0x18
test eax, eax
jne 0x4025a9
mov edx, 0x29158ba4
xor ecx, ecx
call fcn.00404bfc
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
push 0
cmova ecx, dword [ebp - 0x28]
push ecx
call eax
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmova edx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 0xf
cmova ecx, dword [ebp - 0x58]
call fcn.00414265
lea ecx, [ebp - 0x28]
call fcn.00401a42
lea ecx, [ebp - 0x58]
call fcn.00401a42
add esi, 0x30
cmp esi, ebx
jne 0x402512
lea ecx, [ebp - 0x40]
call fcn.00401a42
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x404ac5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
mov eax, edx
mov dword [ebp - 0x10], eax
push edi
test esi, esi
je 0x404b27
test eax, eax
je 0x404b27
mov eax, dword [esi + 0x3c]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, dword [eax + esi + 0x78]
add edi, esi
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
add eax, esi
add ecx, esi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp dword [edi + 0x18], ebx
jbe 0x404b27
mov ecx, dword [eax]
add ecx, esi
call fcn.00404aa4
cmp eax, dword [ebp - 0x10]
je 0x404b2e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add eax, 4
add dword [ebp - 4], 2
inc ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
cmp ecx, dword [edi + 0x18]
jb 0x404b00
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
add ecx, esi
cmp ecx, edi
jbe 0x404bbb
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x7c]
add eax, edi
cmp ecx, eax
jae 0x404bbb
mov dl, byte [ecx]
mov eax, ebx
cmp dl, 0x2e
je 0x404b6c
lea edi, [ebp - 0x30]
mov esi, ecx
sub edi, ecx
mov byte [esi + edi], dl
inc eax
inc esi
mov dl, byte [esi]
cmp dl, 0x2e
jne 0x404b60
lea esi, [ecx + 1]
mov dword [ebp + eax - 0x30], 0x6c6c642e
add esi, eax
mov byte [ebp + eax - 0x2c], bl
mov dword [ebp - 0xc], ebx
cmp byte [esi], 0x23
jne 0x404ba4
inc esi
mov al, byte [esi]
test al, al
je 0x404ba1
imul ecx, ebx, 0xa
movsx ebx, al
add ebx, 0xffffffd0
add ebx, ecx
inc esi
mov al, byte [esi]
test al, al
jne 0x404b8c
mov dword [ebp - 0xc], ebx
lea esi, [ebp - 0xc]
lea eax, [ebp - 0x30]
push eax
call dword [0x41ec48]
push esi
push eax
call dword [0x41ec7c]
jmp 0x404b29
mov eax, ecx
jmp 0x404b29

Function at 0x404bc2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov esi, eax
mov edx, 0xd3e65c39
mov ecx, esi
call fcn.00404ac5
mov edx, 0xdc02ba32
mov dword [0x41ec48], eax
mov ecx, esi
call fcn.00404ac5
mov dword [0x41ec7c], eax
pop esi
ret
Function at 0x405282
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4052a5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x405364
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x4052cb
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4052d0
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x405330
jg 0x4052e5
test esi, esi
je 0x405330
test ecx, ecx
jl 0x40532b
jg 0x4052ef
test eax, eax
je 0x40532b
cmp edi, ecx
jg 0x405301
jl 0x4052f9
cmp esi, eax
jae 0x405301
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x405333
mov ecx, dword [ebp + 8]
jmp 0x40533d
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x405358
jg 0x40533d
test esi, esi
je 0x405358
cmp dword [ebx + 0x4c], 0
je 0x405358
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc