Function at 0x43f2b3
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
mov eax, 0x45de88
call fcn.0045c170
sub esp, 0x568
push ebx
push esi
push edi
lea eax, [ebp - 0x470]
mov dword [ebp - 0x10], esp
push 0
push 0x103
push eax
push dword [0x531f10]
mov esi, ecx
mov dword [ebp - 0x24], esi
call fcn.00425d30
add esp, 0x10
lea eax, [ebp - 0x470]
push 0x40aaf8
push eax
push 0x40df4c
lea eax, [ebp - 0x574]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
and byte [ebp - 0x471], 0
add esi, 0x50
add esp, 0x14
push eax
push ecx
mov ecx, esi
call fcn.0043faaa
mov eax, dword [0x40a0f8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov ebx, 0x45e298
mov eax, ebx
test eax, eax
je 0x43f34a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00413da2
push 0xc3f
call fcn.0042487e
mov edi, eax
pop ecx
test edi, edi
je 0x43f36c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.00413da2
mov eax, ebx
test eax, eax
je 0x43f383
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00413da2
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0043fa99
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x574]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x43f3c4
mov dword [ebp - 4], 2
jmp 0x43f581
mov esi, 0x40aaf4
lea edi, [ebp - 0x138]
mov cl, byte [edi]
mov al, cl
cmp cl, byte [esi]
jne 0x43f3f1
test al, al
je 0x43f3ed
mov cl, byte [edi + 1]
mov al, cl
cmp cl, byte [esi + 1]
jne 0x43f3f1
inc edi
inc edi
inc esi
inc esi
test al, al
jne 0x43f3cf
xor eax, eax
jmp 0x43f3f6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43f559
mov esi, 0x40aaf0
lea edi, [ebp - 0x138]
mov cl, byte [edi]
mov al, cl
cmp cl, byte [esi]
jne 0x43f42b
test al, al
je 0x43f427
mov cl, byte [edi + 1]
mov al, cl
cmp cl, byte [esi + 1]
jne 0x43f42b
inc edi
inc edi
inc esi
inc esi
test al, al
jne 0x43f409
xor eax, eax
jmp 0x43f430
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43f559
test byte [ebp - 0x164], 0x10
je 0x43f559
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x470]
push eax
push 0x40df38
lea eax, [ebp - 0x268]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [ebp - 0x36c], 0
add esp, 0x14
xor eax, eax
lea edi, [ebp - 0x36b]
push 0x40
and byte [ebp - 0x165], 0
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x14]
push eax
call fcn.00413e57
lea eax, [ebp - 0x19]
lea ecx, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 0x19], 0x5c
call fcn.00413ea4
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x18]
push eax
call fcn.00413e57
mov esi, 0x103
lea eax, [ebp - 0x36c]
push esi
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x43f531
xor edi, edi
lea eax, [ebp - 0x36c]
push edi
push eax
call fcn.00425e07
pop ecx
cmp eax, edi
pop ecx
je 0x43f533
lea eax, [ebp - 0x268]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00413f63
lea ecx, [ebp - 0x268]
push ecx
push esi
push eax
push ebx
push 0x40df30
push 0x40df28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004117d3
jmp 0x43f533
xor edi, edi
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], edi
jne 0x43f54a
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x18]
push eax
call fcn.00413e57
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 0x50]
call fcn.0043fa99
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43f3c4
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00411656
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00411656
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret