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

Disassembly:
push 0xffffffffffffffff
push 0x10059b3e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x1006c3ac]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006c3ac]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov eax, dword [esp + 0x134]
lea esi, [eax + 0x20]
mov edi, 8
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x18], edi
jb 0x100334a8
mov eax, dword [esi + 4]
jmp 0x100334ab
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003355f
cmp dword [esi + 0x18], edi
jb 0x100334c4
mov eax, dword [esi + 4]
jmp 0x100334c7
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003355f
xor edi, edi
mov dword [esp + 0x18], edi
mov ecx, esi
lea ebx, [esp + 0x18]
mov dword [esp + 0x12c], edi
call fcn.10039fb0
test eax, eax
jne 0x10033526
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x1003350d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push 0x64
call ebp
inc edi
cmp edi, 5
jge 0x10033554
mov ecx, esi
lea ebx, [esp + 0x18]
call fcn.10039fb0
test eax, eax
je 0x100334f8
push 0xfffe
call fcn.1003e829
add esp, 4
push 0xfffe
mov edi, eax
push 0
push edi
mov dword [esp + 0x4c], edi
call fcn.10042250
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x1003358b
mov esi, dword [esi + 4]
jmp 0x1003358e
test ebx, ebx
je 0x1003355f
push ebx
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.1003f2d1
add esp, 0x11c
ret 4
add esi, 4
push esi
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [edi], 0
mov dword [esp + 0x20], edi
je 0x10033a84
lea eax, [esp + 0x4c]
push eax
call fcn.100353f0
push 0x2000
mov byte [esp + 0x130], 1
call fcn.1003e829
add esp, 4
push 0x2000
mov ebp, eax
push 0
push ebp
mov dword [esp + 0x54], ebp
call fcn.10042250
mov eax, dword [esp + 0x28]
add eax, 0x20
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x100335f0
mov eax, dword [eax + 4]
jmp 0x100335f3
add eax, 4
mov ecx, dword [esp + 0x20]
push eax
push 0x1000
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp word [ebp], 0
je 0x100338f9
xor edx, edx
mov eax, ebp
mov word [esp + 0x94], dx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10033635
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x94]
call fcn.1000b540
push 0x100625bc
mov ebx, 1
xor eax, eax
mov edx, esi
mov byte [esp + 0x130], 2
call fcn.1002be30
mov edi, eax
cmp edi, 0xffffffff
je 0x1003384a
mov eax, esi
push eax
mov ecx, edi
xor edx, edx
lea esi, [esp + 0xb0]
call fcn.1002be00
lea ecx, [esp + 0x90]
push ecx
lea edx, [edi + 1]
or ecx, 0xffffffff
lea esi, [esp + 0xcc]
mov byte [esp + 0x130], 3
call fcn.1002be00
mov byte [esp + 0x12c], 4
cmp dword [esp + 0xdc], 0x20
je 0x1003375c
mov esi, 8
cmp dword [esp + 0xe0], esi
jb 0x100336e2
mov edx, dword [esp + 0xcc]
push edx
call fcn.1003f2c6
add esp, 4
xor edi, edi
xor eax, eax
mov ebx, 7
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], ax
cmp dword [esp + 0xc4], esi
jb 0x1003371a
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.1003f2c6
add esp, 4
xor edx, edx
mov byte [esp + 0x12c], 1
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], edi
mov word [esp + 0xb0], dx
cmp dword [esp + 0xa8], esi
jb 0x10033877
mov eax, dword [esp + 0x94]
push eax
call fcn.1003f2c6
add esp, 4
jmp 0x10033877
lea ecx, [esp + 0xc8]
lea edi, [esp + 0x74]
call fcn.10039870
mov esi, eax
lea ecx, [esp + 0xac]
lea edi, [esp + 0xe4]
mov byte [esp + 0x12c], 5
call fcn.10039870
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x130], 6
call fcn.10034cf0
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push esi
mov ecx, eax
call fcn.10002800
mov esi, 0x10
cmp dword [esp + 0xfc], esi
jb 0x100337c6
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.1003f2c6
add esp, 4
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x8c], esi
jb 0x100337f5
mov edx, dword [esp + 0x78]
push edx
call fcn.1003f2c6
add esp, 4
mov esi, 8
cmp dword [esp + 0xe0], esi
jb 0x10033813
mov eax, dword [esp + 0xcc]
push eax
call fcn.1003f2c6
add esp, 4
xor ecx, ecx
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], cx
cmp dword [esp + 0xc4], esi
jb 0x1003384f
mov edx, dword [esp + 0xb0]
push edx
call fcn.1003f2c6
add esp, 4
jmp 0x1003384f
mov esi, 8
mov byte [esp + 0x12c], 1
cmp dword [esp + 0xa8], esi
jb 0x10033870
mov eax, dword [esp + 0x94]
push eax
call fcn.1003f2c6
add esp, 4
xor edi, edi
mov ebx, 7
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10033894
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0xcc]
call fcn.1000b540
cmp dword [esp + 0xe0], 8
mov edx, dword [esp + 0xdc]
lea ebp, [ebp + edx*2 + 2]
jb 0x100338d7
mov eax, dword [esp + 0xcc]
push eax
call fcn.1003f2c6
add esp, 4
xor ecx, ecx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], cx
cmp word [ebp], di
jne 0x10033610
mov eax, dword [esp + 0x20]
xor edx, edx
mov ebx, 7
mov word [esp + 0xb0], dx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10033921
mov ebp, dword [esp + 0x20]
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0xb0]
call fcn.1000b540
mov ecx, esi
lea edi, [esp + 0xe4]
mov byte [esp + 0x12c], bl
call fcn.10039870
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov byte [esp + 0x12c], 8
call fcn.10034b60
mov esi, eax
lea eax, [esp + 0x4c]
cmp esi, eax
je 0x10033997
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea ecx, [esp + 0x7c]
push ecx
mov eax, esi
call fcn.10035690
lea ebx, [esp + 0x4c]
mov eax, esi
call fcn.10035770
cmp dword [esp + 0xfc], 0x10
jb 0x100339b1
mov edx, dword [esp + 0xe8]
push edx
call fcn.1003f2c6
add esp, 4
xor ebx, ebx
cmp dword [esp + 0xc4], 8
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
jb 0x100339e6
mov eax, dword [esp + 0xb0]
push eax
call fcn.1003f2c6
add esp, 4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.1004009b
add esp, 4
lea esi, [esp + 0x4c]
mov byte [esp + 0x12c], 9
call fcn.10035a20
mov byte [esp + 0x12c], bl
mov edx, dword [esp + 0x4c]
push edx
call fcn.1003f2c6
add esp, 4
xor eax, eax
mov word [esp + 0x28], ax
mov edi, 7
mov eax, ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10033a31
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x28]
call fcn.1000b540
cmp dword [esp + 0x3c], 8
mov ecx, dword [esp + 0x38]
lea esi, [ebp + ecx*2 + 2]
mov dword [esp + 0x20], esi
jb 0x10033a6c
mov edx, dword [esp + 0x28]
push edx
call fcn.1003f2c6
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], ax
cmp word [esi], bx
jne 0x100335a9
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x10033a99
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1004009b
add esp, 4
push esi
push 0x100606fe
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], esi
mov byte [esp + 0x10c], 0
call fcn.100028e0
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x12c], 0xa
mov eax, dword [edi + 0x18]
mov ebp, dword [edi]
mov ebx, dword [eax]
mov dword [esp + 0x40], ebp
lea esp, [esp]
mov esi, dword [edi + 0x18]
mov eax, dword [edi]
test ebp, ebp
je 0x10033afd
cmp ebp, eax
je 0x10033b02
call fcn.1003f767
cmp ebx, esi
je 0x10033cd1
test ebp, ebp
jne 0x10033b99
call fcn.1003f767
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10033b23
call fcn.1003f767
mov edx, dword [ebx + 0x40]
mov edi, dword [edx]
mov ebp, dword [ebx + 0x28]
jmp 0x10033b30
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x10033ba1
call fcn.1003f767
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10033b49
call fcn.1003f767
mov esi, dword [ebx + 0x40]
mov eax, dword [ebx + 0x28]
test ebp, ebp
je 0x10033b57
cmp ebp, eax
je 0x10033b5c
call fcn.1003f767
cmp edi, esi
je 0x10033c57
test ebp, ebp
jne 0x10033ba5
call fcn.1003f767
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10033b79
call fcn.1003f767
mov esi, dword [edi + 0x20]
mov eax, esi
cmp eax, esi
jae 0x10033b82
mov eax, esi
cmp esi, 8
jb 0x10033b8e
mov eax, 8
cmp dword [edi + 0x24], 0x10
jb 0x10033baa
mov edx, dword [edi + 0x10]
jmp 0x10033bad
mov eax, dword [ebp]
jmp 0x10033b19
mov eax, dword [eax]
jmp 0x10033b3f
mov eax, dword [ebp]
jmp 0x10033b6f
lea edx, [edi + 0x10]
mov ecx, str.config15
call fcn.1000b450
test eax, eax
jne 0x10033bca
cmp esi, 8
jb 0x10033bca
cmp esi, 8
setne al
test eax, eax
je 0x10033bf4
test ebp, ebp
jne 0x10033c0d
call fcn.1003f767
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10033bdf
call fcn.1003f767
push 0
lea eax, [edi + 0x28]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x108]
call fcn.1001a410
test ebp, ebp
jne 0x10033bfd
call fcn.1003f767
cmp byte [edi + 0x45], 0
je 0x10033c12
call fcn.1003f767
jmp 0x10033b30
mov eax, dword [ebp]
jmp 0x10033bd5
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x45], 0
jne 0x10033c34
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x10033c2d
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x10033c23
mov edi, ecx
jmp 0x10033b30
mov eax, dword [edi + 4]
cmp byte [eax + 0x45], 0
jne 0x10033c50
lea ecx, [ecx]
cmp edi, dword [eax + 8]
jne 0x10033c50
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x10033c40
mov edi, eax
jmp 0x10033b30
cmp dword [esp + 0x40], 0
jne 0x10033c63
call fcn.1003f767
cmp byte [ebx + 0x49], 0
je 0x10033c7b
call fcn.1003f767
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
jmp 0x10033af0
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x49], 0
jne 0x10033ca9
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x10033c9a
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
je 0x10033c90
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ebx, ecx
jmp 0x10033af0
mov eax, dword [ebx + 4]
cmp byte [eax + 0x49], 0
jne 0x10033cc2
cmp ebx, dword [eax + 8]
jne 0x10033cc2
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x49], 0
je 0x10033cb2
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ebx, eax
jmp 0x10033af0
cmp dword [esp + 0x114], 0
je 0x10033f0a
push 8
mov ebp, 0xf
xor esi, esi
push str.config15
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], esi
mov byte [esp + 0x9c], 0
call fcn.100028e0
mov byte [esp + 0x12c], 0xb
push 7
push str.config4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.100028e0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x2c]
mov ecx, edi
mov byte [esp + 0x134], 0xc
call fcn.10032c80
mov ebx, 0x10
cmp dword [esp + 0x3c], ebx
jb 0x10033d6f
mov eax, dword [esp + 0x28]
push eax
call fcn.1003f2c6
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
mov byte [esp + 0x12c], 0xf
cmp dword [esp + 0xa8], ebx
jb 0x10033d9d
mov ecx, dword [esp + 0x94]
push ecx
call fcn.1003f2c6
add esp, 4
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x104]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], esi
mov byte [esp + 0x98], 0
call fcn.10034830
mov byte [esp + 0x12c], bl
cmp dword [esp + 0xf8], esi
jne 0x10033e87
push 8
push str.config15
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], esi
mov byte [esp + 0x9c], 0
call fcn.100028e0
mov byte [esp + 0x12c], 0x11
push 7
push str.config4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.100028e0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x2c]
mov edx, edi
mov byte [esp + 0x134], 0x12
call fcn.10032ed0
cmp dword [esp + 0x3c], ebx
jb 0x10033e5f
mov edx, dword [esp + 0x28]
push edx
call fcn.1003f2c6
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
cmp dword [esp + 0xa8], ebx
jb 0x10033ec0
mov eax, dword [esp + 0x94]
push eax
call fcn.1003f2c6
add esp, 4
jmp 0x10033ec0
lea eax, [esp + 0xac]
lea edx, [esp + 0xe4]
call fcn.10031050
test al, al
jne 0x10033ec0
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx + 4]
push edx
mov ecx, edi
call fcn.10035370
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], esi
mov dword [eax], eax
mov eax, dword [edi + 0x18]
mov dword [eax + 8], eax
cmp dword [esp + 0xc4], ebx
jb 0x10033ed9
mov eax, dword [esp + 0xb0]
push eax
call fcn.1003f2c6
add esp, 4
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], esi
mov byte [esp + 0xb0], 0
cmp dword [esp + 0xfc], ebx
jb 0x10033f0f
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.1003f2c6
add esp, 4
jmp 0x10033f0f
mov ebx, 0x10
cmp dword [esp + 0x118], ebx
jb 0x10033f28
mov edx, dword [esp + 0x104]
push edx
call fcn.1003f2c6
add esp, 4
cmp dword [esp + 0x18], 0
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
je 0x10033f58
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x10033561