Function at 0x438990
Capabilities:
Enumerate files on windows
Get geographical location
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x53a92a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x374
push ebx
push esi
push edi
mov esi, ecx
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x3c]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x390]
mov dword [esp + 0x388], edx
mov dword [esp + 0x1c], edx
cmp dword [ecx - 8], edx
sete al
cmp eax, edx
mov dword [esp + 0x28], eax
je 0x438ab0
lea edx, [esp + 0x17c]
push 7
push edx
push 3
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x438ab0
push str..ini
lea ecx, [esp + 0x14]
call fcn.0050d46b
mov edi, eax
push 0x58b444
lea ecx, [esp + 0x34]
mov byte [esp + 0x38c], 1
call fcn.0050d46b
lea ecx, [esp + 0x17c]
lea edx, [esp + 0x34]
push ecx
mov bl, 2
push eax
push edx
mov byte [esp + 0x394], bl
call fcn.0050d692
push edi
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x390], 3
push eax
call fcn.0050d62c
push eax
lea ecx, [esp + 0x394]
mov byte [esp + 0x38c], 4
call fcn.0050d536
lea ecx, [esp + 0xc]
mov byte [esp + 0x388], 3
call fcn.0050d3fd
lea ecx, [esp + 0x34]
mov byte [esp + 0x388], bl
call fcn.0050d3fd
lea ecx, [esp + 0x30]
mov byte [esp + 0x388], 1
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x388], 0
call fcn.0050d3fd
push ebp
lea ecx, [esp + 0x180]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x180]
lea ecx, [esp + 0x1c]
push edx
call fcn.0050d46b
push 0x5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x390], 5
call fcn.00505d13
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00505c45
lea edi, [esi + 0x228]
push eax
mov ecx, edi
mov byte [esp + 0x390], 6
call fcn.0050d536
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 5
call fcn.0050d3fd
push str.language_
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0050d692
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x390], 7
call fcn.0050d536
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 5
call fcn.0050d3fd
lea edx, [esp + 0x1c]
push str.jc___.ini
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0050d692
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x438c8f
mov eax, dword [0x591288]
mov dword [esp + 0x10], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x38c], 9
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0050d586
mov edx, dword [esp + 0x10]
push str.jceng.ini
push edx
call fcn.004eea90
add esp, 8
test eax, eax
je 0x438c63
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0050d692
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x390], 0xa
call fcn.0050d536
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 9
call fcn.0050d3fd
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x284]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x284]
push eax
push 0xff
push ecx
push 0x596660
push 0x58b42c
push str.Info
call ebx
test eax, eax
jbe 0x438c63
mov eax, dword [esi + 0x41c]
lea ecx, [esi + 0x414]
lea edx, [esp + 0x284]
push edx
push eax
call fcn.0050a848
mov eax, dword [esi + 0x430]
lea ecx, [esi + 0x428]
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.0050a848
lea eax, [esp + 0x40]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x438b99
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38c], 8
call fcn.0050d3fd
mov ebx, dword [esi + 0x41c]
mov eax, dword [0x591288]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
xor ebp, ebp
mov byte [esp + 0x38c], 0xc
test ebx, ebx
jle 0x438e2d
lea edi, [ebp + 1]
cmp edi, ebx
mov dword [esp + 0x30], edi
jge 0x438e23
lea ecx, [esp + 0x14]
push ebp
lea ebx, [esi + 0x414]
push ecx
mov ecx, ebx
call fcn.0041a2f0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x390], 0xd
call fcn.0050d536
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 0xc
call fcn.0050d3fd
lea edx, [esp + 0x34]
push edi
push edx
mov ecx, ebx
call fcn.0041a2f0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x390], 0xe
call fcn.0050d536
lea ecx, [esp + 0x34]
mov byte [esp + 0x38c], 0xc
call fcn.0050d3fd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.004eea90
add esp, 8
test eax, eax
jle 0x438e10
mov eax, dword [esi + 0x418]
lea ebx, [ebp*4]
lea edx, [esp + 0x28]
mov ecx, ebx
push edx
add ecx, eax
call fcn.0050d536
lea eax, [esp + 0x24]
lea ecx, [edi*4]
push eax
mov eax, dword [esi + 0x418]
add ecx, eax
call fcn.0050d536
lea edx, [esp + 0x38]
push ebp
lea ecx, [esi + 0x428]
push edx
call fcn.0041a2f0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x390], 0xf
call fcn.0050d536
lea ecx, [esp + 0x38]
mov byte [esp + 0x38c], 0xc
call fcn.0050d3fd
lea eax, [esp + 0x3c]
push edi
push eax
lea ecx, [esi + 0x428]
call fcn.0041a2f0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x390], 0x10
call fcn.0050d536
lea ecx, [esp + 0x3c]
mov byte [esp + 0x38c], 0xc
call fcn.0050d3fd
mov edx, dword [esi + 0x42c]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
add ecx, edx
call fcn.0050d536
mov eax, dword [esi + 0x42c]
lea edx, [esp + 0x24]
lea ecx, [edi*4]
push edx
add ecx, eax
call fcn.0050d536
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x438cc7
mov edi, dword [esp + 0x30]
mov ebx, eax
mov ebp, edi
cmp ebp, ebx
jl 0x438cb8
xor edi, edi
test ebx, ebx
jle 0x438f2c
mov ebp, dword [esp + 0x398]
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esi + 0x428]
call fcn.0041a2f0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov byte [esp + 0x398], 0x11
call fcn.0050d62c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x390], 0x12
call fcn.0050d536
lea ecx, [esp + 0x30]
mov byte [esp + 0x38c], 0x11
call fcn.0050d3fd
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x438eea
cmp ebp, 0x4e4
je 0x438ec0
mov ecx, dword [esp + 0x18]
push ecx
push 0xffffffffffffffff
push str.Codepage
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp ebp, eax
jne 0x438ec0
lea edx, [edi + 1]
mov dword [esp + 0x20], edx
cmp word [esp + 0x20], 0
jne 0x438f12
mov eax, dword [esp + 0x394]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x438f12
mov ecx, dword [esp + 0x10]
push ecx
push eax
call fcn.004eea90
add esp, 8
test eax, eax
jne 0x438f12
jmp 0x438f0b
cmp word [esp + 0x20], 0
jne 0x438f12
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x394]
push eax
push ecx
call fcn.004eea90
add esp, 8
test eax, eax
jne 0x438f12
lea edx, [edi + 1]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x38c], 0xc
call fcn.0050d3fd
inc edi
cmp edi, ebx
jl 0x438e3e
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x40]
push 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
call fcn.0042eff0
mov ecx, eax
call fcn.0042fdd0
push str.Skin.ini
lea ecx, [esp + 0x30]
mov bl, 0x13
push eax
push ecx
mov byte [esp + 0x398], bl
call fcn.0050d692
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x390], 0x14
call fcn.0050d536
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38c], bl
call fcn.0050d3fd
lea ecx, [esp + 0x30]
mov byte [esp + 0x38c], 0xc
call fcn.0050d3fd
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
pop ebp
cmp edi, 0xffffffff
je 0x43904d
add esi, 0x43c
mov bl, 0x15
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x10]
call fcn.0050d46b
push 0x2e
lea ecx, [esp + 0x10]
mov byte [esp + 0x38c], bl
call fcn.00505d13
test eax, eax
je 0x439011
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.00505c45
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x38c], 0x16
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x388], bl
call fcn.0050d3fd
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0050a874
lea ecx, [esp + 0xc]
mov byte [esp + 0x388], 0xc
call fcn.0050d3fd
lea edx, [esp + 0x3c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x438fbc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x24]
mov byte [esp + 0x388], 0xb
call fcn.0050d3fd
lea ecx, [esp + 0x20]
mov byte [esp + 0x388], 8
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x388], 5
call fcn.0050d3fd
lea ecx, [esp + 0x18]
mov byte [esp + 0x388], 0
call fcn.0050d3fd
lea ecx, [esp + 0x390]
mov dword [esp + 0x388], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x380]
mov ax, word [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x380
ret 8