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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cd28
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042f030
test eax, eax
je 0x434838
lea ecx, [esp + 0xc]
call fcn.0040b100
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.0042f030
mov ecx, eax
call fcn.0042c7f0
test eax, eax
je 0x43481f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43481f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43481f
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.0040b300
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x434801
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43481f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x49ac70]
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], 0x4711c0
call fcn.0040b300
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x434880
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042f030
test eax, eax
je 0x43496f
mov ecx, edi
call fcn.0042f030
mov ecx, eax
call fcn.0042c6a0
test eax, eax
jne 0x43496f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43496f
mov eax, dword [0x49ac70]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4348e2
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.0042f030
mov ecx, eax
call fcn.0042c8d0
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 0x43496f
cmp ebx, eax
jne 0x43496f
cmp dword [esp + 0x10], eax
jne 0x434955
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 0x4375a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cfb8
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 0x4375d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4376ec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4375ed
mov eax, 0xffffffc7
jmp 0x4376ee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4375fe
cmp dword [esi + 8], eax
jne 0x4375ed
cmp dword [esi + 8], eax
jne 0x437617
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x437617
mov eax, 0xffffffc7
jmp 0x4376ee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43762b
push eax
mov ecx, ebx
call fcn.00436dd0
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.0040b100
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43765c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040b120
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00436540
test eax, eax
mov dword [esp + 0x38], eax
je 0x43768f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4711c0
call fcn.0040b300
mov eax, dword [esp + 0x38]
jmp 0x4376ee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00437400
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4376d3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00437420
mov esi, eax
test esi, esi
jne 0x437703
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00437400
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4376a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4711c0
call fcn.0040b300
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], 0x4711c0
call fcn.0040b300
mov eax, esi
jmp 0x4376ee

Function at 0x43a7d0
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x46d5e8
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.00466862
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004400e0
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.00466790
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.00463054
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.00463054
push 1
push 0
push 0
mov ecx, esi
call fcn.00462ffc
push 1
push 0
push 1
mov ecx, esi
call fcn.00462ffc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004668d4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4408c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d608
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.00466862
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004400e0
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.00466790
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 0x440984
cmp dword [esp + 0x40], 1
jne 0x440982
cmp ecx, eax
jge 0x440984
mov eax, ecx
cmp eax, 0xc8
jge 0x440990
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440740
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.004668d4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441110
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d673
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.00461474
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.00466b0a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00468026
test eax, eax
je 0x44122c
mov ecx, dword [esp + 0x3c]
call fcn.00466b37
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 0x4411f0
push edi
mov ecx, esi
call fcn.0046419b
mov ecx, esi
call fcn.00441390
cmp dword [esp + 0x38], 1
jne 0x441225
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.004642d6
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 0x443c50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443c83
push esi
call fcn.00446d40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443c7c
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 0x443d09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443cf2
mov eax, dword [esi + 8]
test eax, eax
je 0x443ca7
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 0x443cee
cmp eax, 2
je 0x443cf2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443c9a
cmp eax, 3
je 0x443ccd
cmp eax, 1
jne 0x443c9a
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 0x443c9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443c9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443d30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443d18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443d30
add esp, 4
pop esi
ret

Function at 0x46226a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4622a2
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.0046031e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004602f6
jmp 0x4622ae
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463958
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 0x46399a
call fcn.00469411
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 0x46399a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463991
xor eax, eax
jmp 0x4639a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004639a8
pop edi
pop esi
pop ebx
ret 4

Function at 0x469941
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 0x46996f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46998d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004698a7
jmp 0x46998d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46998d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004698a7
test edi, edi
mov eax, edi
jne 0x469977
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3f2700bc
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x7bf736d4
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4056f0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x400
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x410]
push eax
push ecx
push 0x3ff
push 0x400
push edx
call dword [0x46607c]
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x400
ret
Function at 0x406f80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x410]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x41c]
push 0x400
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
xor edi, edi
xor esi, esi
lea edx, [esp + 0xc]
test al, al
lea ecx, [esp + 0xc]
je 0x407006
cmp al, 0x20
je 0x406ff7
cmp al, 9
je 0x406ff7
test edi, edi
jne 0x406ffe
mov edi, 1
mov edx, ecx
jmp 0x406ffe
cmp edi, 1
jne 0x406ffe
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x406fe2
mov ebx, dword [esp + 0x420]
test edx, edx
mov byte [ebx], 0
je 0x407075
test esi, esi
jne 0x40704f
test ebx, ebx
je 0x407075
mov esi, dword [esp + 0x424]
test esi, esi
jle 0x407075
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x407075
push edx
push esi
push ebx
call dword [0x466090]
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
sub esi, edx
test ebx, ebx
je 0x407075
test esi, esi
jle 0x407075
mov eax, dword [esp + 0x424]
cmp eax, esi
jle 0x407075
push esi
push edx
push eax
push ebx
call dword [0x46608c]
add esp, 0x10
mov byte [esi + ebx], 0
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
Function at 0x407090
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x4070fd
mov al, byte [esp + 0x14]
test al, al
je 0x4070fd
cmp al, 0x20
je 0x4070f5
cmp al, 9
jne 0x407140
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4070ed
mov esi, dword [esp + 0x120]
test esi, esi
je 0x407133
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x407133
test ebx, ebx
je 0x407133
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x407133
push ebx
push edx
push esi
call dword [0x466090]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x407206
cmp byte [esp + 0x14], 0x5c
je 0x407206
test ebx, ebx
je 0x407133
mov edi, dword [esp + 0x120]
test edi, edi
je 0x407133
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x407133
mov esi, dword [sym.imp.MSVCRT.dll__mbsrchr]
push 0x5c
push ebx
call esi
add esp, 8
test eax, eax
jne 0x407197
push 0x2f
push ebx
call esi
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x4071be
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x4071e9
cmp ebp, esi
jle 0x4071e9
push esi
push ebx
push ebp
push edi
call dword [0x46608c]
add esp, 0x10
mov byte [esi + edi], 0
jmp 0x4071e9
mov esi, dword [esp + 0x10]
push ebp
push ebx
mov ecx, esi
call fcn.004074d0
test eax, eax
je 0x4071db
push ebx
push ebp
push edi
call dword [0x466090]
add esp, 0xc
push 0x4661d0
push ebp
push edi
mov ecx, esi
call fcn.00407580
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebp
push edi
call fcn.00407580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00407090
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
Function at 0x407f80
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x453f31
push eax
mov dword fs:[0], esp
sub esp, 0x218
lea eax, [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push edi
push 0x103
push eax
mov esi, ecx
push ebp
call fcn.00408190
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jle 0x4080cb
lea eax, [esp + ecx + 0x1c]
mov cl, byte [esp + ecx + 0x1b]
cmp cl, 0x67
jne 0x4080cb
cmp byte [eax - 2], 0x66
jne 0x4080cb
cmp byte [eax - 3], 0x63
jne 0x4080cb
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0
push ecx
call fcn.0044e035
add esp, 4
mov eax, dword [eax]
lea edx, [esi + 4]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_sdown.cfg
push ecx
mov byte [esp + 0x23c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x22c], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x408066
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 3
push ecx
push edx
jmp 0x408085
mov eax, dword [esp + 0xc]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4080a4
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push 3
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x40816b
mov ecx, esi
call fcn.00407c40
mov ecx, esi
call fcn.00407da0
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x40816b
lea ecx, [esp + 0x120]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004081e0
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4080fd
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 3
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40816b
push ecx
lea eax, [esp + 0x124]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
mov dword [esp + 0x234], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x234], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 4
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004082a0
mov ecx, esi
call fcn.00407da0
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x224
ret 4
Function at 0x408c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x454168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x4c]
lea eax, [edi + 0x6f4]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
push 1
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
sub eax, ecx
push 5
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
lea ecx, [edi + 0x134]
push eax
push ecx
push esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0x19
call fcn.0044f4ef
mov eax, dword [edi + 0x130]
add esp, 0x10
test eax, eax
jle 0x408d30
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [edi + 0x130]
lea eax, [esp + 0x4c]
push edx
push 0x46622c
push eax
mov dword [esp + 0x50], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x24]
push 5
sub ecx, edi
lea edx, [eax - 0x28]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edx
lea edi, [ecx - 0x1e]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x5c]
push ecx
push edx
push esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
call fcn.0044f4ef
add esp, 0x1c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 4