Function at 0x4044b0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x154
mov eax, dword [0x42b008]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push esi
push edi
push 0
push 0
push 0x14b
push dword [0x430928]
call ebx
mov ecx, dword [0x430de4]
call fcn.004011d0
mov edx, 0x430c68
mov dword [0x430de4], 0
mov ecx, 2
mov dword [0x430dec], 0
mov dword [0x430de8], 0
call fcn.004016c0
xor edx, edx
mov ecx, str.en.ini
call fcn.00401920
mov edi, eax
test edi, edi
je 0x40459b
mov ecx, dword [0x430de8]
inc ecx
push ecx
mov ecx, 0x430de4
call fcn.0040a970
mov ecx, dword [0x430de8]
mov eax, dword [0x430de4]
push 0xbaadf00d
push 0
push str.CodePage
mov dword [eax + ecx*4 - 4], edi
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027a0
push str.BAD_FOOD_
push 0
push str.Name
mov ecx, edi
mov esi, eax
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, esi
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0x143
push dword [0x430928]
call ebx
lea eax, [esp + 0x18]
push eax
push str..ini
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404789
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea esp, [esp]
mov edx, str.en.ini
lea ecx, [esp + 0x44]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4045f0
test al, al
je 0x4045ec
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4045f0
add ecx, 2
add edx, 2
test al, al
jne 0x4045d0
xor eax, eax
jmp 0x4045f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4046b5
push 1
lea eax, [esp + 0x48]
push 0x4269cc
push eax
call fcn.00411020
add esp, 0xc
test eax, eax
je 0x4046b5
push 2
lea eax, [esp + 0x48]
push 0x4269d0
push eax
call fcn.00411020
add esp, 0xc
test eax, eax
je 0x4046b5
test byte [esp + 0x18], 0x10
jne 0x4046b5
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.00401920
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x4046b5
lea eax, [esp + 0x14]
mov ecx, 0x430de4
push eax
call fcn.0040ab10
push 0xbaadf00d
push 0
push str.CodePage
mov ecx, edi
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027a0
push str.BAD_FOOD_
push 0
push str.Name
mov ecx, edi
mov esi, eax
call fcn.00402460
push eax
mov ecx, edi
call fcn.004027e0
mov edx, esi
mov ecx, eax
call fcn.00401620
push eax
push 0
push 0x143
push dword [0x430928]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x18]
push eax
push ebx
call ebp
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x4045c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
lea ecx, [edx + 1]
call fcn.004016c0
xor edi, edi
cmp dword [0x430de8], edi
jle 0x404789
lea esp, [esp]
mov eax, dword [0x430de4]
push str.fail
push 0
push str.IDC_LNK_INFO
mov esi, dword [eax + edi*4]
mov ecx, esi
call fcn.00402460
push eax
mov ecx, esi
call fcn.004027e0
mov esi, eax
mov edx, str.fail
mov ecx, esi
lea esp, [esp]
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x404740
test bl, bl
je 0x40473c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x404740
add ecx, 2
add edx, 2
test al, al
jne 0x404720
xor eax, eax
jmp 0x404745
sbb eax, eax
or eax, 1
test eax, eax
je 0x40476f
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404750
sub eax, edx
js 0x40476f
jmp 0x404760
cmp byte [eax + esi], 0x5e
jne 0x40476a
mov byte [eax + esi], 0x22
sub eax, 1
jns 0x404760
mov ecx, dword [0x430de8]
inc edi
cmp edi, ecx
jl 0x4046f0
test ecx, ecx
jle 0x404789
mov eax, 1
jmp 0x40478b
xor eax, eax
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040acdd
add esp, 0x154
ret