Function at 0x432c10
Capabilities:
Check if file exists
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48f47e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x134]
mov dword [esp + 0x1c], ebp
add ebp, 0x20
mov ebx, 8
cmp dword [ebp + 0x18], ebx
jb 0x432c68
mov eax, dword [ebp + 4]
jmp 0x432c6b
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432d23
cmp dword [ebp + 0x18], ebx
jb 0x432c84
mov eax, dword [ebp + 4]
jmp 0x432c87
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x432d23
xor esi, esi
mov dword [esp + 0x18], esi
mov ecx, ebp
lea edi, [esp + 0x18]
mov dword [esp + 0x12c], esi
call fcn.0043a770
test eax, eax
jne 0x432ceb
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x432ccd
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [esp + 0x18], edi
push 0x64
call ebx
inc esi
cmp esi, 5
jge 0x432d18
mov ecx, ebp
lea edi, [esp + 0x18]
call fcn.0043a770
test eax, eax
je 0x432cb8
mov ebx, 8
push 0xfffe
call fcn.0045353a
add esp, 4
push 0xfffe
mov esi, eax
push 0
push esi
mov dword [esp + 0x4c], esi
call fcn.0046fba0
add esp, 0xc
cmp dword [ebp + 0x18], ebx
jb 0x432d4f
mov eax, dword [ebp + 4]
jmp 0x432d52
test edi, edi
je 0x432d23
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0046fd33
add esp, 0x11c
ret 4
lea eax, [ebp + 4]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [esi], 0
mov dword [esp + 0x20], esi
je 0x43324d
lea ecx, [ecx]
lea eax, [esp + 0x4c]
push eax
call fcn.00417540
push 0x2000
mov byte [esp + 0x130], 1
call fcn.0045353a
add esp, 4
push 0x2000
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x54], ebx
call fcn.0046fba0
mov eax, dword [esp + 0x28]
add eax, 0x20
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x432db7
mov eax, dword [eax + 4]
jmp 0x432dba
add eax, 4
mov ecx, dword [esp + 0x20]
push eax
push 0x1000
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp word [ebx], 0
je 0x4330b5
xor esi, esi
jmp 0x432de0
xor edx, edx
mov ebp, 7
mov eax, ebx
mov word [esp + 0x94], dx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x432e02
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x98]
call fcn.00417aa0
push 1
push esi
push 0x49db14
lea ecx, [esp + 0x9c]
mov byte [esp + 0x138], 2
call fcn.0041dec0
mov esi, eax
cmp esi, 0xffffffff
je 0x433009
push esi
xor edi, edi
push edi
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x9c]
call fcn.0041ddf0
push 0xffffffffffffffff
inc esi
push esi
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x138], 3
call fcn.0041ddf0
mov byte [esp + 0x12c], 4
cmp dword [esp + 0xdc], 0x20
je 0x432f1d
mov esi, 8
cmp dword [esp + 0xe0], esi
jb 0x432eb2
mov edx, dword [esp + 0xcc]
push edx
call fcn.0045352f
add esp, 4
xor eax, eax
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], ax
cmp dword [esp + 0xc4], esi
jb 0x432ee3
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0045352f
add esp, 4
xor edx, edx
mov byte [esp + 0x12c], 1
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], edi
mov word [esp + 0xb0], dx
cmp dword [esp + 0xa8], esi
jb 0x43302b
mov eax, dword [esp + 0x94]
push eax
jmp 0x433023
lea ecx, [esp + 0xc8]
lea edi, [esp + 0x74]
call fcn.0043a390
mov esi, eax
lea ecx, [esp + 0xac]
lea edi, [esp + 0xe4]
mov byte [esp + 0x12c], 5
call fcn.0043a390
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
mov byte [esp + 0x130], 6
call fcn.004344f0
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00402760
mov esi, 0x10
cmp dword [esp + 0xfc], esi
jb 0x432f88
mov edx, dword [esp + 0xe8]
push edx
call fcn.0045352f
add esp, 4
xor edi, edi
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], edi
mov byte [esp + 0xe8], 0
cmp dword [esp + 0x8c], esi
jb 0x432fba
mov eax, dword [esp + 0x78]
push eax
call fcn.0045352f
add esp, 4
mov esi, 8
cmp dword [esp + 0xe0], esi
jb 0x432fd8
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0045352f
add esp, 4
xor edx, edx
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], dx
cmp dword [esp + 0xc4], esi
jb 0x433009
mov eax, dword [esp + 0xb0]
push eax
call fcn.0045352f
add esp, 4
mov byte [esp + 0x12c], 1
cmp dword [esp + 0xa8], 8
jb 0x43302b
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0045352f
add esp, 4
xor esi, esi
xor edx, edx
mov eax, ebx
mov word [esp + 0xcc], dx
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x433050
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0xd0]
call fcn.00417aa0
cmp dword [esp + 0xe0], 8
mov eax, dword [esp + 0xdc]
lea ebx, [ebx + eax*2 + 2]
jb 0x433092
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0045352f
add esp, 4
xor edx, edx
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], esi
mov word [esp + 0xcc], dx
cmp word [ebx], si
jne 0x432de0
jmp 0x4330ba
mov ebp, 7
mov ebx, dword [esp + 0x20]
xor eax, eax
mov word [esp + 0xb0], ax
mov eax, ebx
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4330e0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0xb4]
call fcn.00417aa0
lea ecx, [esp + 0xac]
lea edi, [esp + 0xe4]
mov byte [esp + 0x12c], 7
call fcn.0043a390
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov byte [esp + 0x12c], 8
call fcn.00434360
mov esi, eax
lea ecx, [esp + 0x4c]
cmp esi, ecx
je 0x433160
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea edx, [esp + 0x7c]
push edx
mov eax, esi
call fcn.00434e30
lea ebx, [esp + 0x4c]
mov eax, esi
call fcn.00434f10
mov ebx, dword [esp + 0x20]
mov ebp, 7
cmp dword [esp + 0xfc], 0x10
jb 0x43317a
mov eax, dword [esp + 0xe8]
push eax
call fcn.0045352f
add esp, 4
xor edi, edi
cmp dword [esp + 0xc4], 8
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], edi
mov byte [esp + 0xe8], 0
jb 0x4331b0
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0045352f
add esp, 4
mov edx, dword [esp + 0x48]
push edx
call fcn.0045352f
add esp, 4
lea esi, [esp + 0x4c]
mov byte [esp + 0x12c], 9
call fcn.004351c0
mov byte [esp + 0x12c], 0
mov eax, dword [esp + 0x4c]
push eax
call fcn.0045352f
add esp, 4
xor ecx, ecx
mov eax, ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4331f7
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.00417aa0
cmp dword [esp + 0x3c], 8
mov edx, dword [esp + 0x38]
lea ebx, [ebx + edx*2 + 2]
mov dword [esp + 0x20], ebx
jb 0x433231
mov eax, dword [esp + 0x28]
push eax
call fcn.0045352f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
cmp word [ebx], di
jne 0x432d70
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x433262
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], edi
push esi
call fcn.0045352f
add esp, 4
push edi
push 0x49c940
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], edi
mov byte [esp + 0x10c], 0
call fcn.00402f80
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x12c], 0xa
mov eax, dword [ecx + 0x18]
mov edi, dword [ecx]
mov ebp, dword [eax]
mov dword [esp + 0x40], edi
mov edi, edi
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x18]
mov eax, dword [eax]
test edi, edi
je 0x4332c1
cmp edi, eax
je 0x4332c6
call fcn.00471538
cmp ebp, esi
je 0x433481
test edi, edi
jne 0x433359
call fcn.00471538
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4332e7
call fcn.00471538
mov edx, dword [ebp + 0x40]
mov edi, dword [edx]
mov ebx, dword [ebp + 0x28]
nop
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x433360
call fcn.00471538
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x433309
call fcn.00471538
mov esi, dword [ebp + 0x40]
mov eax, dword [ebp + 0x28]
test ebx, ebx
je 0x433317
cmp ebx, eax
je 0x43331c
call fcn.00471538
cmp edi, esi
je 0x433417
test ebx, ebx
jne 0x433364
call fcn.00471538
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x433339
call fcn.00471538
mov esi, dword [edi + 0x20]
mov eax, esi
cmp eax, esi
jae 0x433342
mov ecx, esi
cmp esi, 8
jb 0x43334e
mov ecx, 8
cmp dword [edi + 0x24], 0x10
jb 0x433368
mov eax, dword [edi + 0x10]
jmp 0x43336b
mov eax, dword [edi]
jmp 0x4332dd
mov eax, dword [eax]
jmp 0x4332ff
mov eax, dword [ebx]
jmp 0x43332f
lea eax, [edi + 0x10]
push ecx
push str.config15
push eax
call fcn.0042f070
add esp, 0xc
test eax, eax
jne 0x43338d
cmp esi, 8
jb 0x43338d
cmp esi, 8
setne al
test eax, eax
je 0x4333b7
test ebx, ebx
jne 0x4333d0
call fcn.00471538
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4333a2
call fcn.00471538
push 0
lea eax, [edi + 0x28]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x108]
call fcn.00417740
test ebx, ebx
jne 0x4333c0
call fcn.00471538
cmp byte [edi + 0x45], 0
je 0x4333d4
call fcn.00471538
jmp 0x4332f0
mov eax, dword [ebx]
jmp 0x433398
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x45], 0
jne 0x4333f6
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x4333ef
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x4333e5
mov edi, ecx
jmp 0x4332f0
mov eax, dword [edi + 4]
cmp byte [eax + 0x45], 0
jne 0x433410
nop
cmp edi, dword [eax + 8]
jne 0x433410
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x433400
mov edi, eax
jmp 0x4332f0
cmp dword [esp + 0x40], 0
jne 0x433423
call fcn.00471538
cmp byte [ebp + 0x49], 0
je 0x433437
call fcn.00471538
mov edi, dword [esp + 0x40]
jmp 0x4332b0
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x49], 0
jne 0x43345d
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x433452
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
je 0x433448
mov edi, dword [esp + 0x40]
mov ebp, ecx
jmp 0x4332b0
mov eax, dword [ebp + 4]
cmp byte [eax + 0x49], 0
jne 0x433476
cmp ebp, dword [eax + 8]
jne 0x433476
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x49], 0
je 0x433466
mov edi, dword [esp + 0x40]
mov ebp, eax
jmp 0x4332b0
cmp dword [esp + 0x114], 0
je 0x4336cb
push 8
mov edi, 0xf
xor ebp, ebp
push str.config15
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebp
mov byte [esp + 0x9c], 0
call fcn.00402f80
mov byte [esp + 0x12c], 0xb
push 7
push str.config4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.00402f80
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x2c]
mov ecx, esi
mov byte [esp + 0x134], 0xc
call fcn.00432450
mov ebx, 0x10
cmp dword [esp + 0x3c], ebx
jb 0x433523
mov eax, dword [esp + 0x28]
push eax
call fcn.0045352f
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
mov byte [esp + 0x12c], 0xf
cmp dword [esp + 0xa8], ebx
jb 0x433551
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0045352f
add esp, 4
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x104]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov byte [esp + 0x98], 0
call fcn.00434000
mov byte [esp + 0x12c], bl
cmp dword [esp + 0xf8], ebp
jne 0x433644
push 8
mov edi, 0xf
push str.config15
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebp
mov byte [esp + 0x9c], 0
call fcn.00402f80
mov byte [esp + 0x12c], 0x11
push 7
push str.config4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.00402f80
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edi, [esp + 0x2c]
mov ecx, esi
mov byte [esp + 0x134], 0x12
call fcn.004326a0
cmp dword [esp + 0x3c], ebx
jb 0x433618
mov edx, dword [esp + 0x28]
push edx
call fcn.0045352f
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
cmp dword [esp + 0xa8], ebx
jb 0x43367d
mov eax, dword [esp + 0x94]
push eax
call fcn.0045352f
add esp, 4
jmp 0x43367d
lea eax, [esp + 0xac]
lea edi, [esp + 0xe4]
call fcn.00430870
test al, al
jne 0x43367d
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 4]
push edx
mov ecx, esi
call fcn.00434b80
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ebp
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
cmp dword [esp + 0xc4], ebx
jb 0x433696
mov eax, dword [esp + 0xb0]
push eax
call fcn.0045352f
add esp, 4
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
cmp dword [esp + 0xfc], ebx
jb 0x4336d0
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0045352f
add esp, 4
jmp 0x4336d0
mov ebx, 0x10
cmp dword [esp + 0x118], ebx
jb 0x4336e9
mov edx, dword [esp + 0x104]
push edx
call fcn.0045352f
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
test eax, eax
je 0x433716
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x432d25