joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c20
Capabilities:
Encode data using xor

Disassembly:
call 0x404b1b
xor ecx, ecx
sub ecx, 0xffffff88
call 0x404c20
rcr byte [esi - 0x7f], 0x76
push cs
xlatb
scasb al, byte es:[edi]
push ss
invalid
xor dword [esi + 0xe], 0x9616aed7
xchg esi, eax
sub esi, 0xfffffffc
loop 0x404c23
cmp al, 0x8d
dec ebp
pop ds
or byte [esi], bl
jnp 0x404ca1
jns 0x404c14
jmp 0x404c5a
sti
mov ecx, 0x8d9ac808
wait
pop ebp
out dx, eax
cld
pop esi
outsb dx, byte [esi]
lcall 0x1b54, 0x994da2ab
xchg esp, eax
push esp
xor al, 0xaa
lodsb al, byte [esi]
jo 0x404c29
push esp
sbb edx, dword [esp + edx*2 + 0x70acaa34]
mov ch, 0x5f
pop edi
wait
push ebp
rcl byte [0xc0bc665d], cl
jns 0x404c6b
mov bl, 0xc3
dec ebx
in al, dx
lodsd eax, dword [esi]
aam 0xb2
fisttp qword [edi - 0xe77ea4f]
stosb byte es:[edi], al
pop ecx
sub eax, 0xde2c835c
or esi, dword [ecx - 0x49]
mov bl, 0x7f
inc ebp
int1
wait
in eax, 0x4d
int 0x8c
push ecx
loopne 0x404ce2
shr dword [ecx + 0x7be34011], cl
cwde
movsd dword es:[edi], dword [esi]
invalid
inc edi
mov dl, 0x94
mov ebx, 0x833ae785
dec edx
sbb bh, byte [ebx + 0x46]
sbb eax, 0xfa989474
adc dword [ecx + 0x6f], ebx
jg 0x404d19
test dword [esi + 0x53], ebp
iretd
pop ds
sbb bl, byte [ebp + 0xd4677b8]
cwde
mov eax, 0x22ea8430
jbe 0x404c82
daa
shl edi, 1
inc edi
push esi
aam 0xbb
sbb dword [eax], eax
je 0x404d33
pop es
inc ecx
rcl esp, cl
jb 0x404cc0
mov eax, dword [0xdb796169]
mov ch, 0xe4
jle 0x404d85
jb 0x404ca9
fst dword [ebx + 0x5cd30925]
popal
push esi
salc
arpl word [edx + 0x5e8a22d], ax
ret 0xba20
sub byte [0xc205e8a2], 0x20
mov edx, 0x694be621
movq qword [esi + 0x32bc70c8], mm2
mov cl, 0xd4
not byte [ebx]
mov al, byte [0xd90817a5]
or cl, bl
test dword [eax + 0x70c413c4], 0x42b720a3
or al, 0x8a
xor ecx, dword [edx]
jnp 0x404d49
mov dword [0xc42b720], eax
mov dh, byte [ebx]
or bh, byte [ebx + 4]
out 0x7a, eax
insd dword es:[edi], dx
mov ebx, 0x463cc03b
cmp eax, eax
cmp al, 0x46
cwde
xor dword [edx], ebp
or ah, 0x61
xor byte [ecx], 0x4d
or dh, byte [edx - 0x32]
cwde
out 0x78, al
pop eax
jne 0x404d3b
cmp eax, 0x3d
sar byte [ebx - 0x1a], 0x38
dec eax
popfd
dec edx
neg dword [edi]
int3
invalid
Function at 0x405d20
Capabilities:
Query environment variable

Disassembly:
stosd dword es:[edi], eax
inc esi
or al, 0x8b
inc esi
test eax, eax
je 0x405cff
cmp byte [edi], 0x3a
je 0x405cff
popal
dec esi
sbb al, 0x8b
dec edi
pushal
push eax
push esi
adc dword [edx - 0x79], edx
xchg ecx, eax
dec eax
add byte [eax], al
push eax
mov eax, dword [esi + 8]
push 0xea40f3cc
movsd dword es:[edi], dword [esi]
jmp [eax + 0x10610e04]
mov edx, dword [ebp + 0x10]
mov bl, byte [ecx + 0x10]
pop edi
mov eax, 0x1117c
mov ch, dl
jno 0x405d6c
ret 0x47
push ebp
mov ebp, esp
std
add dword [edi - 0x18], edx
cmc
add dword [eax], eax
add byte [ebp - 0x2a2f040], al
add byte [eax], al
add byte [ebx - 0x2b7323f6], al
add byte [edi + ecx], dl
mov esi, gs
add byte [ebx], bh
add byte [ecx + 0xbd0d84], ah
test dword [ecx + edi*4 - 0x7b], edx
loope 0x405cd1
add byte [ebp + 0x38405c7], al
mov al, byte [0x7200]
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetCommandLineW
mov esi, eax
test ebp, ebp
in eax, dx
mov eax, 0x358a150
inc ecx
add byte [ebp + 0xa1d75c0], al
jg 0x405d7f
or bh, byte [edi + 0x10]
hlt
stc
add byte [ebp - 0x507bce40], al
add byte [eax], al
add byte [ebp + 0x5607fc4d], cl
jne 0x405d60
mov esi, eax
test esi, esi
sbb byte [0x8bfc55b7], 0xee
or al, 0xe1
push esi
push eax
xchg edi, eax
sub al, 0x48
in al, dx
fcomp dword [ebx]
dec ebp
pop edx
add esp, 0xc
push esi
mov dword [ecx], eax
call dword [eax + ebx*8]
shr byte [eax + eax], 0x53
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebp, dword [ecx - 0xac0096]
adc eax, sym.imp.MSVCRT.dll___p__environ
push eax
call 0xdd70e1
mov edi, dword [ebp + 0x10]
les ecx, [esi + eax*4]
invalid

Function at 0x40a340
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov esp, ebx
or byte [esi - 0x46], dl
sub al, 4
test eax, eax
jne 0x40a35f
add ecx, 0xc
push ecx
xor dword [0xdb1bc02c], edx
xor eax, eax
inc esp
pop ebp
ret 0x4004
and dword [esi + 0x520cf775], 0x41
das
push eax
mov esp, 0x40b13015
test bl, ch
emms
clc
add dh, byte [ebp - 0x1d]
mov ecx, dword [ecx + 8]
jp 0x40a379
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
adc eax, sym.imp.KERNEL32.dll_TlsAlloc
test eax, eax
jne 0x40a358
mov esi, dword [0x402098]
call esi
mov al, al
je 0x40a358
call esi
leave
cmp ah, 0xa
add byte [esi + 7], bl
xchg ebx, eax
xor al, byte [eax]
nop
nop
nop
pop esi
nop

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 2]
push cs
sal byte [ebx + esi - 0x75], 0x4d
or al, 0x51
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test ecx, edi
jne 0x40a40a
push esi
lea ebx, [ecx + sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x40a3fe
pop esi
pop ebp
cmp eax, 0xd6ff2608
call esi
add eax, 0x3f1a80
pop esi
pop ebp
insb byte es:[edi], dx
or byte [eax], al
adc al, al
pop ebp
ja 0x40a46c
add byte [eax - 0x78ffb1c5], bh
pop ebp
ret 8
nop
nop
nop
adc ch, byte [eax + 0x28]
pop dword [ecx + 0x1a]
call dword [0xbc40c059]
xor eax, eax
ret
Function at 0x40b108
Capabilities:
Read file on windows

Disassembly:
clc
jnp 0x40b10d
mov edi, eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40b137
mov cl, byte [esi - 0x7b]
test cl, cl
jne 0x40b137
mov ecx, dword [esi + 0x50]
mov dword [eax + 8], ecx
mov ch, 0x46
push eax
int 0x56
push esp
mov ecx, 0x20
call fcn.0040b810
mov edx, dword [esi - 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xc]
cmp al, 0x55
or al, 0x44
mov byte [0x8b501005], al
pushal
add al, 0x51
arpl word [edx + 0x50], dx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40b15a
imul eax, eax, 0xffffffe9
sub eax, dword [ecx]
add byte [eax], al
mov edi, dword [0x74c098]
call edi
test eax, 0x1b840fc0
lodsb al, byte [esi]
add ah, dh
invalid
Function at 0x401063
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c4004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push 0x4a762c
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401138
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401127
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x401111
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x401127
push eax
push edi
push dword [ebp - 0x110]
call section..text
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x40113a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048d815
leave
ret 4
Function at 0x4015d0
Capabilities:
Copy file

Disassembly:
mov eax, 0x1008
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.kernel32.dll_SearchPathW]
lea eax, [esp + 0xc]
push edi
push eax
lea eax, [esp + 0x818]
push eax
push 0x400
push 0
push 0x4ad0e4
push 0
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ebp, dword [sym.imp.kernel32.dll_CopyFileW]
test eax, eax
je 0x40164e
push 0x4deb78
lea eax, [esp + 0x18]
push eax
call edi
push 0x4ad100
lea eax, [esp + 0x18]
push eax
call ebx
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x81c]
push eax
call ebp
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x818]
push eax
push 0x400
push 0
push 0x4ad118
push 0
call esi
test eax, eax
je 0x401698
push 0x4deb78
lea eax, [esp + 0x18]
push eax
call edi
push 0x4ad130
lea eax, [esp + 0x18]
push eax
call ebx
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x81c]
push eax
call ebp
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x818]
push eax
push 0x400
push 0
push 0x4ad148
push 0
call esi
test eax, eax
je 0x4016e2
push 0x4deb78
lea eax, [esp + 0x18]
push eax
call edi
push 0x4ad160
lea eax, [esp + 0x18]
push eax
call ebx
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x81c]
push eax
call ebp
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x818]
push eax
push 0x400
push 0
push 0x4ad178
push 0
call esi
test eax, eax
je 0x40172c
push 0x4deb78
lea eax, [esp + 0x18]
push eax
call edi
push 0x4ad18c
lea eax, [esp + 0x18]
push eax
call ebx
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x81c]
push eax
call ebp
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x818]
push eax
push 0x400
push 0
push 0x4ad1a4
push 0
call esi
test eax, eax
je 0x401776
push 0x4deb78
lea eax, [esp + 0x18]
push eax
call edi
push 0x4ad1b4
lea eax, [esp + 0x18]
push eax
call ebx
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x81c]
push eax
call ebp
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x818]
push eax
push 0x400
push 0
push 0x4ad1cc
push 0
call esi
test eax, eax
je 0x4017c0
push 0x4deb78
lea eax, [esp + 0x18]
push eax
call edi
push 0x4ad1e4
lea eax, [esp + 0x18]
push eax
call ebx
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x81c]
push eax
call ebp
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1008
ret
Function at 0x401d60
Capabilities:
Delete file

Disassembly:
mov eax, 0x1854
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x184c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
xor edi, edi
push 0x7fe
push eax
mov word [esp + 0x60], ax
xor ebp, ebp
lea eax, [esp + 0x62]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x858], ax
push 0x7fe
push eax
lea eax, [esp + 0x862]
push eax
call fcn.0048e770
add esp, 0xc
push 0x2751
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
push ebp
push ebp
push 0x1004
push eax
mov dword [esp + 0x24], eax
call esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x401fb4
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0xf000
push edi
push 0x102c
push dword [esp + 0x20]
call esi
and eax, 0xfffff000
cmp eax, 0x2000
jne 0x401fa9
lea eax, [esp + 0x58]
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push edi
push 0x1073
push dword [esp + 0x20]
mov dword [esp + 0x44], 0x104
call esi
lea eax, [esp + 0x58]
push eax
push 0x2727
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
call dword [sym.imp.user32.dll_SetWindowTextW]
push 0x4deb78
lea eax, [esp + 0x85c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4ad2a0
lea eax, [esp + 0x85c]
push eax
call ebx
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1060], ax
lea eax, [esp + 0x1062]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1058]
push 0xa
push 0xa
push eax
push ebp
call fcn.0048f5fe
add esp, 0x10
lea eax, [esp + 0x1058]
push eax
lea eax, [esp + 0x85c]
push eax
call ebx
push 0x4ad2b4
lea eax, [esp + 0x85c]
push eax
call ebx
lea eax, [esp + 0x858]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x56], 0x5c
je 0x401efd
push 0x4ad2c0
lea eax, [esp + 0x5c]
push eax
call ebx
push 0x5c
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
lea eax, [esp + 0x58]
sub esi, eax
and esi, 0xfffffffe
cmp esi, 0x800
jae 0x401fd6
xor eax, eax
mov word [esp + esi + 0x58], ax
lea eax, [esp + 0x1058]
push 0x4ad2c4
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x105c]
push eax
call ebx
push 0x4ad2c0
lea eax, [esp + 0x105c]
push eax
call ebx
push 0
push 0
push 0x405
push 0x272a
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
call dword [sym.imp.user32.dll_SendMessageW]
lea eax, [esp + 0x858]
push eax
lea eax, [esp + 0x5e]
lea ecx, [esp + 0x5c]
add esi, eax
call fcn.004784a0
mov edx, esi
mov ecx, eax
call fcn.004017e0
add esp, 4
cmp eax, 0xffffffff
je 0x401fd2
mov esi, dword [sym.imp.user32.dll_SendMessageW]
inc ebp
inc edi
cmp edi, dword [esp + 0x18]
jl 0x401df1
mov eax, 1
mov ecx, dword [esp + 0x185c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1854
ret
xor eax, eax
jmp 0x401fb9
call fcn.0048d945
int3
Function at 0x4028a0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x125c
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1258], eax
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0xa60]
push ebx
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea ecx, [esp + 0xa60]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4028e0
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0xa60]
sub ecx, edx
sar ecx, 1
cmp word [esp + ecx*2 + 0xa5e], 0x5c
jne 0x40290e
push 0x4ad34c
jmp 0x402913
push 0x4ad2c8
push eax
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xa64]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x402947
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1258]
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret
test byte [esp + 0x10], 0x10
jne 0x4029ad
push ebx
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea ecx, [esp + 0x260]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402967
sub ecx, edx
sar ecx, 1
cmp word [esp + ecx*2 + 0x25e], 0x5c
je 0x402990
push 0x4ad2c0
lea eax, [esp + 0x264]
push eax
call esi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x264]
push eax
call esi
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov ebx, dword [sym.imp.kernel32.dll_FindNextFileW]
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
je 0x402a35
nop
test byte [esp + 0x10], 0x10
jne 0x402a29
push dword [esp + 0xc]
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x260]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4029e3
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x25e], 0x5c
je 0x402a0c
push 0x4ad2c0
lea eax, [esp + 0x264]
push eax
call esi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x264]
push eax
call esi
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
jne 0x4029c0
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 0x1264]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret
Function at 0x402a60
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x274b
push dword [0x4def88]
xor esi, esi
xor ebp, ebp
call dword [sym.imp.user32.dll_GetDlgItem]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
push ebp
push ebp
push 0x1004
push eax
mov dword [esp + 0x20], eax
call ebx
test eax, eax
je 0x402ac5
push 0xf000
push ebp
push 0x102c
push dword [esp + 0x1c]
mov edi, esi
call ebx
push 0
push 0
shr eax, 0xc
lea esi, [edi + 1]
sub eax, 1
push 0x1004
push dword [esp + 0x1c]
cmove esi, edi
inc ebp
call ebx
cmp ebp, eax
jne 0x402a92
push 0x274c
push dword [0x4def88]
xor ebp, ebp
call dword [sym.imp.user32.dll_GetDlgItem]
push ebp
push ebp
push 0x1004
push eax
mov dword [esp + 0x20], eax
call ebx
test eax, eax
je 0x402b23
nop word [eax + eax]
push 0xf000
push ebp
push 0x102c
push dword [esp + 0x1c]
mov edi, esi
call ebx
push 0
push 0
shr eax, 0xc
lea esi, [edi + 1]
sub eax, 1
push 0x1004
push dword [esp + 0x1c]
cmove esi, edi
inc ebp
call ebx
cmp ebp, eax
jne 0x402af0
push 0x2751
push dword [0x4def88]
xor ebp, ebp
call dword [sym.imp.user32.dll_GetDlgItem]
push ebp
push ebp
push 0x1004
push eax
mov dword [esp + 0x20], eax
call ebx
test eax, eax
je 0x402b83
nop dword [eax + eax]
push 0xf000
push ebp
push 0x102c
push dword [esp + 0x1c]
mov edi, esi
call ebx
push 0
push 0
shr eax, 0xc
lea esi, [edi + 1]
sub eax, 1
push 0x1004
push dword [esp + 0x1c]
cmove esi, edi
inc ebp
call ebx
cmp ebp, eax
jne 0x402b50
push 0x4ded80
push 0
push 0x4ad350
push 0x4ad35c
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
mov ebp, dword [sym.imp.user32.dll_GetDlgItem]
lea edi, [esi + 1]
push 0
push 0
push 0x402
push 0x272a
push dword [0x4def88]
test eax, eax
cmove edi, esi
call ebp
push eax
call ebx
movzx esi, di
shl esi, 0x10
push esi
push 0
push 0x401
push 0x272a
push dword [0x4def88]
call ebp
push eax
call ebx
push 0
push 1
push 0x404
push 0x272a
push dword [0x4def88]
call ebp
push eax
call ebx
push 0
push 0
push 0x402
push 0x272b
push dword [0x4def88]
call ebp
push eax
call ebx
push esi
push 0
push 0x401
push 0x272b
push dword [0x4def88]
call ebp
push eax
call ebx
push 0
push 1
push 0x404
push 0x272b
push dword [0x4def88]
call ebp
push eax
call ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x402fb0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x12b4
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x12ac], eax
push ebx
push ebp
push esi
push edi
push 0x2738
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov esi, eax
push 0
push 0
push 0x1009
push esi
call edi
push 0x4deb78
lea eax, [esp + 0x2bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4ad34c
lea eax, [esp + 0x2bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x2bc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.kernel32.dll_FindNextFileW]
mov ebx, eax
lea eax, [esp + 0x68]
push eax
push ebx
call ebp
test eax, eax
je 0x40314a
test byte [esp + 0x68], 0x10
je 0x40313a
push 0x4ad2d4
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x40313a
push 0x4ad37c
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40313a
push 0
push 0
push 0x1004
push esi
call edi
push 0x4ce7b0
push 0
mov dword [0x4ce7b4], eax
lea eax, [esp + 0x9c]
push 0x104d
push esi
mov dword [0x4ce7cc], 0
mov dword [0x4ce7c4], eax
call edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x62]
push eax
movzx eax, word [esp + 0x64]
push eax
movzx eax, word [esp + 0x60]
push eax
movzx eax, word [esp + 0x66]
push eax
movzx eax, word [esp + 0x6e]
push eax
push 0x4ad388
lea eax, [esp + 0xad0]
push 0x400
push eax
call fcn.0040a370
add esp, 0x20
mov dword [esp + 0x24], 1
lea eax, [esp + 0xab8]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x4ce7b4]
push 0x1074
push esi
call edi
lea eax, [esp + 0x68]
push eax
push ebx
call ebp
test eax, eax
jne 0x403042
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0xb
push eax
push 0
push 0x102b
push esi
mov dword [esp + 0x38], 2
call edi
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
push 0x4770b0
push 1
push 0x1051
push esi
mov dword [0x4deb70], 0
mov dword [0x4deb6c], esi
call edi
mov ecx, dword [esp + 0x12bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x12b4
ret
Function at 0x4031b0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1048
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1044], eax
push ebx
push ebp
push esi
push 0x2751
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
mov ebp, dword [sym.imp.user32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x1009
push ebx
call ebp
push 0x7fc
lea eax, [esp + 0x858]
mov dword [esp + 0x854], 0x30
push 0
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x50]
xor esi, esi
push 0x4ded80
push 0x400
push eax
push esi
lea eax, [esp + 0x860]
push eax
push 0x4ad0a8
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x403310
push edi
mov edi, dword [sym.imp.kernel32.dll_lstrlenW]
movzx eax, word [esp + 0x54]
inc esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x14], esi
xor esi, esi
push eax
call edi
test eax, eax
jle 0x403277
mov ax, word [esp + esi*2 + 0x56]
mov word [esp + esi*2 + 0x54], ax
lea eax, [esp + 0x54]
push eax
inc esi
call edi
cmp esi, eax
jl 0x403261
push 0
push 0
push 0x1004
push ebx
call ebp
push 0x4ce738
push 0
mov dword [0x4ce73c], eax
lea eax, [esp + 0x5c]
push 0x104d
push ebx
mov dword [0x4ce74c], eax
call ebp
cmp dword [esp + 0x10], 0x31
jne 0x4032ca
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xf000
push eax
push dword [0x4ce73c]
mov dword [esp + 0x2c], 0x2000
push 0x102b
push ebx
call ebp
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x854]
push 0xa
push 0xa
push eax
push esi
call fcn.0048f5fe
add esp, 0x10
lea eax, [esp + 0x54]
push 0x4ded80
push 0x400
push eax
push 0
lea eax, [esp + 0x864]
push eax
push 0x4ad0a8
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x403246
pop edi
mov ecx, dword [esp + 0x1050]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1048
ret
Function at 0x403330
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x4bc
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push 0x274c
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
mov ebp, dword [sym.imp.user32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x1009
push ebx
call ebp
push 0x204
lea eax, [esp + 0x2c4]
mov dword [esp + 0x2c0], 0x30
push 0
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x50]
xor esi, esi
push 0x4ded80
push 0x136
push eax
push esi
lea eax, [esp + 0x2cc]
push eax
push 0x4ad3b8
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40348f
push edi
mov edi, dword [sym.imp.kernel32.dll_lstrlenW]
movzx eax, word [esp + 0x54]
inc esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x14], esi
xor esi, esi
push eax
call edi
test eax, eax
jle 0x4033f6
nop dword [eax]
mov ax, word [esp + esi*2 + 0x56]
mov word [esp + esi*2 + 0x54], ax
lea eax, [esp + 0x54]
push eax
inc esi
call edi
cmp esi, eax
jl 0x4033e0
push 0
push 0
push 0x1004
push ebx
call ebp
push 0x4ce774
push 0
mov dword [0x4ce778], eax
lea eax, [esp + 0x5c]
push 0x104d
push ebx
mov dword [0x4ce788], eax
call ebp
cmp dword [esp + 0x10], 0x31
jne 0x403449
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xf000
push eax
push dword [0x4ce778]
mov dword [esp + 0x2c], 0x2000
push 0x102b
push ebx
call ebp
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x2c0]
push 0xa
push 0xa
push eax
push esi
call fcn.0048f5fe
add esp, 0x10
lea eax, [esp + 0x54]
push 0x4ded80
push 0x136
push eax
push 0
lea eax, [esp + 0x2d0]
push eax
push 0x4ad3b8
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x4033c2
pop edi
mov ecx, dword [esp + 0x4c4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x4bc
ret