joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423860
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x34c
xor eax, eax
mov cl, byte [eax + 0x45eb20]
mov byte [esp + eax + 4], cl
inc eax
test cl, cl
jne 0x423868
push edi
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [str.GEN_.DLL]
mov ecx, dword [0x44dbfc]
mov dx, word [0x44dc00]
dec edi
mov dword [edi], eax
mov al, byte [0x44dc02]
mov dword [edi + 4], ecx
lea ecx, [esp + 0x10c]
push ecx
mov word [edi + 8], dx
lea edx, [esp + 0xc]
push edx
mov byte [edi + 0xa], al
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
je 0x423981
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push esi
mov edi, 0x45b580
lea eax, [esp + 0x144]
lea ecx, [esp + 0x258]
push eax
push 0x45eb20
push str._s_s
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x423950
push str.winampGetGeneralPurposePlugin
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42394d
call eax
test eax, eax
mov dword [edi], eax
je 0x42394d
cmp dword [eax], 0x10
jne 0x42394d
mov ecx, dword [0x45b980]
mov dword [eax + 0x14], ecx
mov edx, dword [edi]
mov dword [edx + 0x18], esi
mov eax, dword [edi]
call dword [eax + 8]
test eax, eax
jne 0x423947
add edi, 4
jmp 0x423950
mov dword [edi], 0
push esi
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x423973
cmp edi, 0x45b97c
jl 0x4238db
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x34c
ret

Function at 0x423be0
Capabilities:
Read .ini file

Disassembly:
push edi
xor edi, edi
cmp dword [0x45bdf4], edi
je 0x423ca9
xor eax, eax
cmp dword [0x44ae98], edi
sete al
push eax
push 2
call fcn.00423bb0
cmp dword [0x44ae98], edi
pop ecx
pop ecx
jne 0x423c42
push 8
push 0x9d6a
push dword [0x45bf14]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 8
push dword [0x45bdf4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
push eax
mov dword [0x44ae98], eax
call fcn.004346b8
pop ecx
pop edi
jmp fcn.00424f0c
push esi
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call esi
cmp eax, dword [0x45bdf4]
je 0x423c66
call esi
push eax
push dword [0x45bdf4]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x423c7d
push edi
push 0x9c7f
push 0x111
push dword [0x45b980]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0x9d6a
push dword [0x45bf14]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push edi
push dword [0x45bdf4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x44ae98], edi
pop esi
pop edi
jmp fcn.00425105
pop edi
ret
Function at 0x425e2c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov al, byte [0x450890]
push edi
push 0x1f
mov byte [ebp - 0x80], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x7f]
push 0x45e580
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x7f]
push 0x7f
push eax
push 0x450890
push str.browserbrand
push str.winamp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x7f], 0
push 0x45ad80
sete al
dec al
and eax, 0x2e
mov byte [ebp - 0x80], al
lea eax, [ebp - 0x80]
push eax
push dword [0x44d7f4]
push str.wa_s_s_s
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
pop edi
leave
ret

Function at 0x4269e3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x71
pop ecx
lea edi, [ebp - 0x1c4]
mov dword [0x454588], esi
lea eax, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [0x4545b0], eax
mov eax, dword [ebp + 0x10]
push esi
push 0x426a6f
mov dword [0x4545a4], eax
mov dword [0x4545a8], eax
push esi
xor eax, eax
push 0xe7
push dword [0x45bf10]
inc eax
mov dword [0x454598], eax
mov dword [0x4545a0], eax
mov dword [0x4545bc], esi
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x426a52
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x454598]
pop edi
cmp eax, 2
pop esi
jne 0x426a63
or eax, 0xffffffff
leave
ret
dec eax
neg eax
sbb eax, eax
and eax, 0x1c4
leave
ret
Function at 0x429013
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8648
call fcn.00446c80
cmp byte [0x45e460], 0
push ebx
push esi
push edi
je 0x429214
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x45e220
push edi
lea eax, [ebp - 0x108]
push str._s_readme.txt
push eax
call esi
mov ebx, dword [sym.imp.MSVCRT.dll_fopen]
lea eax, [ebp - 0x108]
push 0x44c34c
push eax
call ebx
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x429192
push edi
lea eax, [ebp - 0x108]
push str._s_read_me.txt
push eax
call esi
lea eax, [ebp - 0x108]
push 0x44c34c
push eax
call ebx
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x429192
push edi
lea eax, [ebp - 0x108]
push str._s_file_id.diz
push eax
call esi
lea eax, [ebp - 0x108]
push 0x44c34c
push eax
call ebx
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x429192
push edi
lea eax, [ebp - 0x108]
push str._s.txt
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
and byte [ebp - 0x108], 0
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x42920d
lea eax, [ebp - 0x21c]
push str.pledit.txt
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x429143
lea eax, [ebp - 0x21c]
push str.viscolor.txt
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x429143
lea eax, [ebp - 0x21c]
push str.region.txt
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x429159
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4290fb
jmp 0x429172
lea eax, [ebp - 0x21c]
push eax
push edi
lea eax, [ebp - 0x108]
push str._s_s
push eax
call esi
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x108]
push 0x44c34c
push eax
call ebx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
pop ecx
je 0x42920d
lea esi, [ebp - 0x8648]
push dword [ebp - 4]
push 0x400
push esi
call dword [sym.imp.MSVCRT.dll_fgets]
mov eax, dword [ebp - 4]
add esp, 0xc
test byte [eax + 0xc], 0x10
jne 0x4291f4
push esi
call sub.MSVCRT.dll_strlen
cmp byte [eax + esi - 1], 0xa
pop ecx
jne 0x4291cd
push esi
call sub.MSVCRT.dll_strlen
and byte [eax + esi - 1], 0
pop ecx
push 0x44d3c4
push esi
call sub.MSVCRT.dll_strcat
push esi
call sub.MSVCRT.dll_strlen
add esi, eax
lea ecx, [ebp - 0x8648]
mov eax, esi
add esp, 0xc
sub eax, ecx
cmp eax, 0x8000
jle 0x429198
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_fclose]
and byte [ebp - 0x649], 0
pop ecx
lea eax, [ebp - 0x8648]
jmp 0x429235
push 0x44e2b4
jmp 0x429236
push dword [0x44d7f4]
lea eax, [ebp - 0x104]
push str.Winamp
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push 0x4b6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42db77
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
push ebx
mov ebx, 0x45eb20
lea eax, [ebp - 0x64c]
push ebx
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x64c]
push str.OUT_.DLL
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x42dc81
push esi
mov dword [ebp - 4], 0x45ace0
push edi
lea eax, [ebp - 0x11c]
push eax
push ebx
lea eax, [ebp - 0x24c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42dc55
push str.winampGetOutModule
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42dc55
call eax
mov esi, eax
test esi, esi
je 0x42dc55
cmp dword [esi], 0x10
jne 0x42dc55
lea eax, [ebp - 0x11c]
mov dword [esi + 0x10], edi
push eax
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x11c]
mov dword [esi + 8], eax
push ecx
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
call dword [esi + 0x1c]
mov eax, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [eax], esi
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x42dc76
cmp dword [ebp - 4], 0x45ad5c
jl 0x42dbd0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f695
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push edi
push 0x12
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0x4c], 0x4c
rep stosd dword es:[edi], eax
xor edi, edi
cmp dword [0x458898], edi
jne 0x42f83f
push ebx
xor ebx, ebx
push esi
inc ebx
push 0x3ff80
push edi
mov dword [0x458898], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov eax, dword [ebp + 0xc]
and byte [esi], 0
mov dword [ebp - 0x48], eax
call fcn.00419e10
cmp dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x3ff7f
mov dword [ebp - 0x1c], 0x44e4cc
jne 0x42f708
mov dword [ebp - 0x1c], 0x44e4b4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0x450890
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x270]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [ebp - 0x20], edi
jne 0x42f735
lea eax, [ebp - 0x270]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], 0x80204
push eax
call sub.comdlg32.dll_GetOpenFileNameA
test eax, eax
je 0x42f809
cmp dword [ebp + 8], edi
je 0x42f759
call fcn.004305d0
jmp 0x42f760
call fcn.0043051a
mov edi, eax
push esi
call sub.MSVCRT.dll_strlen
cmp byte [eax + esi + 1], 0
pop ecx
je 0x42f787
push esi
call fcn.00430eb8
test byte [0x45dea7], bl
pop ecx
je 0x42f7d1
push edi
push 2
call fcn.00431405
jmp 0x42f7c7
push 0x44b7f4
push esi
call fcn.00439351
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
push eax
call edi
pop ecx
test eax, eax
pop ecx
jne 0x42f7ab
push ebx
push esi
call fcn.0041b2ff
jmp 0x42f7c7
push 0x44b7f0
push esi
call fcn.00439351
pop ecx
push eax
call edi
pop ecx
test eax, eax
pop ecx
jne 0x42f7ca
push ebx
push esi
call fcn.004337f7
pop ecx
jmp 0x42f7d0
push esi
call fcn.004309f3
pop ecx
cmp dword [ebp + 8], 0
je 0x42f809
push 0
call fcn.00430e77
cmp byte [0x45dea4], 0
pop ecx
je 0x42f7f3
push 0xc4653600
call fcn.004311db
pop ecx
push 0x45bbe0
push 0x45c0c0
call fcn.00430cb4
pop ecx
pop ecx
call fcn.0042fb16
push ebx
push 0x209
push 0x200
lea eax, [ebp - 0x68]
push dword [0x45b980]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x42f809
push dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call edi
push esi
call edi
and dword [0x458898], 0
pop esi
pop ebx
pop edi
leave
ret
Function at 0x433d7a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x4592e4], edi
jne 0x433e34
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], eax
mov eax, dword [0x45bf10]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
inc ebx
mov esi, 0x4591e0
push eax
mov dword [0x4592e4], ebx
mov dword [ebp - 0x4c], 0x4c
mov dword [ebp - 0x40], str.M3U
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x103
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0x44e688
mov dword [ebp - 0x10], 0x44b7f4
mov dword [ebp - 0x18], 0x80006
call sub.comdlg32.dll_GetSaveFileNameA
test eax, eax
mov dword [0x4592e4], edi
je 0x433e34
push 0x44b7f0
push esi
call fcn.00439351
pop ecx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x433e27
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.00433b33
jmp 0x433e2f
push ebx
push esi
call fcn.0041b742
pop ecx
pop ecx
mov eax, ebx
jmp 0x433e36
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434240
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push edi
xor edi, edi
cmp eax, 0xffffffff
jne 0x434253
xor eax, eax
mov edi, 1
mov edx, dword [0x459460]
mov ecx, eax
test eax, eax
jge 0x434261
mov ecx, edx
test eax, eax
mov dword [0x45acb8], ecx
jl 0x434306
mov ecx, edx
xor edx, edx
test ecx, ecx
setne dl
xor ecx, ecx
mov dword [0x459460], eax
test eax, eax
setne cl
cmp edx, ecx
je 0x434306
test eax, eax
mov eax, dword [0x4592f4]
je 0x4342ca
test eax, eax
jne 0x434306
lea edx, [esp + 8]
mov dword [0x4592f8], 0
push edx
push 0
push 0x4592f8
push 0x434310
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
mov dword [0x4592f4], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
ret
test eax, eax
je 0x4342f7
push 0xffffffffffffffff
push eax
mov dword [0x4592f8], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x4592f4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4592f4], 0
test edi, edi
jne 0x434306
push 1
push edi
call fcn.0040f4e0
add esp, 8
pop edi
ret

Function at 0x434622
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [0x45e9e1]
cmp al, 1
je 0x43463f
cmp al, 2
je 0x43463f
cmp dword [0x459530], 0
je 0x43464a
call fcn.00437094
jmp 0x43464a
push 0x45bf20
call fcn.0043700c
pop ecx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x45b980]
call esi
mov al, byte [0x45e9e1]
cmp al, 1
je 0x43467a
cmp al, 3
je 0x43467a
push 0xffffffffffffffec
push dword [0x45b980]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0x7f
jmp 0x43468a
push 0xffffffffffffffec
push dword [0x45b980]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or al, 0x80
push eax
push 0xffffffffffffffec
push dword [0x45b980]
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [0x45946c], 0
je 0x4346ac
push 8
push dword [0x45b980]
call esi
mov dword [0x45946c], 1
pop esi
ret
Function at 0x435e75
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x960
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea eax, [ebp - 0x960]
push dword [ebp + 8]
push str._s.
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x960]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x435f17
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x550]
push dword [ebp + 8]
push str._s_s
push eax
call esi
add esp, 0x10
test byte [ebp - 0x140], 0x10
je 0x435ef1
cmp byte [ebp - 0x114], 0x2e
je 0x435efe
lea eax, [ebp - 0x550]
push eax
call fcn.00435e75
pop ecx
jmp 0x435efe
lea eax, [ebp - 0x550]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435eb5
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
leave
ret
Function at 0x436863
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push 0x410
lea eax, [ebp - 0x410]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x410]
push 0x44e9cc
push eax
call fcn.00439a62
xor ebx, ebx
add esp, 0xc
mov byte [eax], bl
cmp byte [ebp - 0x410], bl
lea eax, [ebp - 0x410]
je 0x4368bd
cmp byte [eax], 0x2f
jne 0x4368b8
mov byte [eax], 0x5c
inc eax
cmp byte [eax], bl
jne 0x4368b0
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strlen
lea esi, [ebp + eax - 0x410]
pop ecx
mov al, byte [esi]
cmp al, bl
je 0x436916
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x4368eb
cmp al, bl
je 0x4368f3
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x5c
jne 0x4368dc
cmp byte [esi], bl
jne 0x4368ff
lea eax, [ebp - 0x410]
push ebx
push eax
call edi
jmp 0x43690f
lea eax, [ebp - 0x410]
push ebx
push eax
mov byte [esi], bl
call edi
mov byte [esi], 0x5c
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x4368eb
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43691a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10000
call fcn.00446c80
push edi
lea eax, [ebp - 0x10000]
push dword [ebp + 0x10]
xor edi, edi
push 0xffff
push eax
push 0x450890
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x10000]
xor edx, edx
mov cl, byte [eax]
cmp cl, 0x20
je 0x436963
cmp cl, 9
je 0x436963
cmp cl, 0x2c
jne 0x436966
inc eax
jmp 0x436952
cmp byte [eax], 0x2d
jne 0x43696c
inc eax
mov cl, byte [eax]
cmp cl, 0x30
jl 0x43698a
cmp cl, 0x39
jg 0x436983
xor edx, edx
inc edx
inc eax
mov cl, byte [eax]
cmp cl, 0x30
jge 0x436973
test edx, edx
je 0x43698a
inc edi
jmp 0x436950
test edi, edi
jne 0x436995
xor eax, eax
jmp 0x436a1d
mov eax, edi
push ebx
shl eax, 2
push esi
push eax
push 0
lea esi, [ebp - 0x10000]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [ebp + 0x14]
and dword [ebp + 0x10], 0
mov dword [ebp + 0xc], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
jge 0x436a18
xor edi, edi
xor eax, eax
xor edx, edx
inc edi
mov cl, byte [esi]
cmp cl, 0x20
je 0x4369d7
cmp cl, 9
je 0x4369d7
cmp cl, 0x2c
jne 0x4369da
inc esi
jmp 0x4369c6
cmp byte [esi], 0x2d
jne 0x4369e3
or edi, 0xffffffff
inc esi
mov cl, byte [esi]
cmp cl, 0x30
jl 0x436a18
cmp cl, 0x39
jg 0x436a04
movsx ecx, cl
lea eax, [edx + edx*4]
inc esi
lea edx, [ecx + eax*2 - 0x30]
mov cl, byte [esi]
xor eax, eax
inc eax
cmp cl, 0x30
jge 0x4369ea
test eax, eax
je 0x436a18
imul edi, edx
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
inc dword [ebp + 0x10]
mov dword [eax + ecx*4], edi
jmp 0x4369b7
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x436a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push dword [ebp + 0x14]
lea eax, [ebp - 0x64]
push 0x64
push eax
push 0x450890
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x436a7f
cmp byte [ebp - 0x64], 0
je 0x436a7f
cmp byte [ebp - 0x64], 0x23
lea eax, [ebp - 0x64]
mov dword [ebp + 0x14], eax
jne 0x436a5c
lea eax, [ebp - 0x63]
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 0x14]
push 0x10
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strtol]
xor ecx, ecx
add esp, 0xc
mov cl, ah
mov ch, al
sar eax, 0x10
movzx eax, al
shl ecx, 8
or eax, ecx
leave
ret
mov eax, dword [ebp + 0x10]
leave
ret
Function at 0x436b1e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
cmp byte [0x45dea5], 0
push ebx
push esi
push edi
je 0x436d6c
push 0x45f300
lea eax, [ebp - 0x24c]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0xc
lea eax, [ebp - 0x148]
xor ebx, ebx
push eax
lea eax, [ebp - 0x24c]
push eax
inc ebx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x436c04
test byte [ebp - 0x148], 0x10
lea eax, [ebp - 0x11c]
je 0x436bae
push 0x44ad84
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x436be7
lea eax, [ebp - 0x11c]
push 0x44d9e8
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x436be7
jmp 0x436be6
push 0x44d9e4
push eax
call fcn.00439351
pop ecx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x436be6
lea eax, [ebp - 0x11c]
push 0x44b6d0
push eax
call fcn.00439351
pop ecx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x436be7
inc ebx
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x436b75
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv ebx
xor edi, edi
cmp edx, edi
mov dword [ebp - 8], edx
jne 0x436c22
and byte [0x45e460], 0
jmp 0x436d6c
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x24c]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436cf0
test byte [ebp - 0x148], 0x10
lea eax, [ebp - 0x11c]
je 0x436c7d
push 0x44ad84
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x436cbe
lea eax, [ebp - 0x11c]
push 0x44d9e8
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x436cbe
jmp 0x436cb3
push 0x44d9e4
push eax
call fcn.00439351
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x436cb3
lea eax, [ebp - 0x11c]
push 0x44b6d0
push eax
call fcn.00439351
pop ecx
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x436cbe
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x436cd6
inc dword [ebp - 4]
lea eax, [ebp - 0x148]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x436c44
jmp 0x436ce9
lea eax, [ebp - 0x11c]
push eax
push 0x45e460
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push edi
push 0x7e
push dword [0x45b980]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x44ae84], edi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x436d18
push edi
push edi
push dword [0x45bf04]
call esi
cmp dword [0x44ae74], edi
je 0x436d2a
push edi
push edi
push dword [0x45c0a4]
call esi
cmp dword [0x44ae98], edi
je 0x436d3d
push 1
push edi
push dword [0x45bdf4]
call esi
push 0x28
pop esi
cmp dword [0x45ad60], esi
jne 0x436d6c
cmp dword [0x45ad64], edi
je 0x436d6c
push 1
mov dword [0x45ad60], edi
call fcn.00427280
push 1
mov dword [0x45ad60], esi
call fcn.00427280
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret