Function at 0x418060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42b33e
mov eax, dword fs:[0]
push eax
mov eax, 0x1148
mov dword fs:[0], esp
call fcn.0041c570
mov eax, dword [0x4377f4]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1164]
mov dword [esp + 0x1150], eax
lea eax, [ecx + 4]
push edi
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 2
xor ebx, ebx
push ebx
push 0x42ddac
mov ecx, esi
mov dword [esp + 0x116c], ebx
call fcn.00401fff
test eax, eax
mov ebp, 0xf
mov edi, 0x10
jne 0x4180ea
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
add ecx, 0x74
push esi
mov dword [esp + 0x1c], ecx
call fcn.004026ab
jmp 0x418143
push ebx
push 0x42c5d4
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.004027cf
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
add eax, 0x74
push esi
push eax
mov byte [esp + 0x116c], 1
mov dword [esp + 0x1c], eax
call fcn.004198e0
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp eax, edi
mov byte [esp + 0x1160], bl
jb 0x418143
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041c5ad
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x41824d
mov ecx, dword [esi + 0x4c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x20]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x41824d
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edx, dword [ecx + 0x18]
add eax, esi
cmp edx, edi
jb 0x41819b
mov edi, dword [ecx + 4]
jmp 0x41819e
lea edi, [ecx + 4]
mov edx, dword [eax + 0x14]
mov ecx, edx
cmp ecx, edx
jae 0x4181a7
cmp edx, ebx
je 0x4181d7
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x14]
cmp edx, ecx
jae 0x4181b8
mov ecx, edx
cmp dword [eax + 0x18], 0x10
jb 0x4181c3
mov eax, dword [eax + 4]
jmp 0x4181c6
add eax, 4
mov esi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4181d3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4181ed
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x14]
cmp edx, esi
jb 0x4181ed
xor eax, eax
cmp edx, esi
setne al
cmp eax, ebx
je 0x418213
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
inc ecx
add eax, 0x1c
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
mov edi, 0x10
jmp 0x418156
cmp byte [0x43766d], bl
je 0x41823b
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x41822a
mov eax, dword [eax + 4]
jmp 0x41822d
add eax, 4
push eax
push str.include_file__s_file_already_exist_n
call fcn.0041dd58
add esp, 8
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x418c61
cmp byte [esp + 0x1170], 1
jne 0x41828e
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
add esi, 0x44
cmp eax, ebx
je 0x418281
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
push edx
push esi
push ecx
push eax
call fcn.00402aec
mov eax, dword [esi + 4]
push eax
call fcn.0041c5ad
add esp, 0x14
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esi + 0x44]
call fcn.00403b67
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x134]
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
call fcn.004026ab
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x18], edi
mov byte [esp + 0x1160], 2
mov eax, edx
jb 0x4182dc
mov eax, dword [eax + 4]
jmp 0x4182df
add eax, 4
push 0x42dd80
push eax
call fcn.0041e1c6
add esp, 8
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x41835c
cmp byte [0x43766d], bl
je 0x41831c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], edi
jb 0x41830b
mov eax, dword [eax + 4]
jmp 0x41830e
add eax, 4
push eax
push str.Utils::IniFile::ReadFile___file_not_found:_n_s_n
call fcn.0041dd58
add esp, 8
cmp dword [esp + 0x140], edi
jb 0x418335
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.0041c5ad
add esp, 4
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x144], ebp
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x418c61
cmp byte [esp + 0x1170], bl
je 0x41836c
mov ecx, esi
call fcn.00417fb0
mov dword [esp + 0x194], ebp
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1b8]
push 0xfa0
push ecx
mov byte [esp + 0x116c], 3
call fcn.0041f1b3
add esp, 0xc
test eax, eax
je 0x418bd7
jmp 0x4183b0
lea eax, [esp + 0x1b4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4183c6
sub eax, edx
push eax
lea edx, [esp + 0x1b8]
push edx
lea ecx, [esp + 0x30]
call fcn.004027cf
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x1168], 4
call fcn.00414530
add esp, 8
cmp dword [esp + 0x40], edi
jb 0x418411
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041c5ad
add esp, 4
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0xcc], ebx
mov byte [esp + 0x1160], 9
jne 0x41849c
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jmp 0x418b6a
mov edx, dword [esp + 0xd0]
cmp edx, edi
mov eax, dword [esp + 0xbc]
mov ecx, eax
jae 0x4184b7
lea ecx, [esp + 0xbc]
cmp byte [ecx], 0x23
je 0x41883a
cmp edx, edi
jae 0x4184cb
lea eax, [esp + 0xbc]
cmp byte [eax], 0x3b
je 0x41883a
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0xbc]
push edx
mov ecx, esi
call fcn.004161c0
test al, al
je 0x4185b6
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x188]
call fcn.004026ab
cmp dword [esp + 0x108], edi
jb 0x418523
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x124], edi
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x418551
mov edx, dword [esp + 0x110]
push edx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0xec], edi
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x41857f
mov eax, dword [esp + 0xd8]
push eax
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0xd0], edi
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov byte [esp + 0x1160], 3
jb 0x418ba0
mov ecx, dword [esp + 0xbc]
push ecx
jmp 0x418b98
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0xc0]
push ecx
mov ecx, esi
call fcn.00416a00
test al, al
je 0x41878e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x17c]
push edx
call fcn.00417950
push 0x1c
mov edi, eax
call fcn.0041b48d
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov byte [esp + 0x1160], 0x11
je 0x418629
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf8]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004026ab
jmp 0x41862b
xor esi, esi
mov ecx, dword [0x4392dc]
push 4
push 0xa9
push str..Utils_IniFile.cpp
push esi
mov byte [esp + 0x1170], 9
call fcn.0041ab30
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x134]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004026ab
mov ecx, edi
call fcn.00416c70
mov esi, eax
cmp esi, ebx
je 0x4186d0
cmp byte [0x43766d], bl
je 0x418698
lea eax, [esp + 0x1b4]
push eax
push str.Warning:_Utils::IniFile::ReadFile___duplicate_name__s_n
call fcn.0041dd58
add esp, 8
mov ecx, dword [0x4392dc]
push esi
call fcn.0041ab40
mov eax, dword [esi + 0x18]
mov edi, 0x10
cmp eax, edi
jb 0x4186bc
mov eax, dword [esi + 4]
push eax
call fcn.0041c5ad
add esp, 4
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push esi
mov byte [esi + 4], bl
call fcn.0041c5ad
add esp, 4
jmp 0x4186d5
mov edi, 0x10
cmp dword [esp + 0x108], edi
jb 0x4186ee
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x124], edi
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x41871c
mov edx, dword [esp + 0x110]
push edx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0xec], edi
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x41874a
mov eax, dword [esp + 0xd8]
push eax
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0xd0], edi
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov byte [esp + 0x1160], 3
jb 0x418780
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.0041c5ad
add esp, 4
mov esi, dword [esp + 0x14]
mov edi, 0x10
jmp 0x418ba0
cmp dword [esp + 0x108], edi
jb 0x4187a7
mov edx, dword [esp + 0xf4]
push edx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x124], edi
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x4187d5
mov eax, dword [esp + 0x110]
push eax
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0xec], edi
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x418803
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0xd0], edi
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov byte [esp + 0x1160], 3
jb 0x418ba0
mov edx, dword [esp + 0xbc]
push edx
jmp 0x418b98
lea eax, [esp + 0xb8]
push eax
call fcn.00414190
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc4]
call fcn.004026ab
push 9
push str.include
lea ecx, [esp + 0x14c]
mov dword [esp + 0x164], ebp
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
call fcn.004027cf
cmp dword [esp + 0x15c], edi
mov eax, dword [esp + 0x148]
mov byte [esp + 0x1160], 0xa
jae 0x4188a1
lea eax, [esp + 0x148]
mov ecx, dword [esp + 0x158]
push ecx
push ebx
push eax
lea ecx, [esp + 0xc4]
call fcn.00401fff
test eax, eax
jne 0x418ac7
cmp dword [esi + 0x90], ebx
je 0x418ac7
push 1
push 0xffffffffffffffff
push 0x42c6fc
lea ecx, [esp + 0x134]
call fcn.00415850
push eax
push ebx
lea edx, [esp + 0x1a0]
push edx
lea ecx, [esp + 0x134]
call fcn.004029c1
mov dword [esp + 0x178], ebp
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
mov eax, dword [esp + 0x158]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x116c], 0xc
call fcn.004029c1
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x1168], 0xd
call fcn.00414530
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0x116c], 0xe
call fcn.004026ab
cmp dword [esp + 0x7c], edi
jb 0x418972
mov eax, dword [esp + 0x68]
push eax
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x98], edi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov byte [esp + 0x1160], 0xc
jb 0x41899f
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0041c5ad
add esp, 4
push 0x42c6fc
lea edx, [esp + 0x19c]
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00402e85
lea ecx, [esp + 0x16c]
push ecx
push eax
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0x1178], 0xf
call fcn.00402a92
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0x116c], 0x10
call fcn.004026ab
cmp dword [esp + 0xb4], edi
jb 0x418a1d
mov eax, dword [esp + 0xa0]
push eax
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov byte [esp + 0x1160], 0xc
jb 0x418a4d
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0041c5ad
add esp, 4
push ebx
push 1
lea edx, [esp + 0x168]
push edx
mov ecx, esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00418060
cmp dword [esp + 0x178], edi
jb 0x418a84
mov eax, dword [esp + 0x164]
push eax
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x1b0], edi
mov dword [esp + 0x178], ebp
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
jb 0x418ab2
mov ecx, dword [esp + 0x19c]
push ecx
call fcn.0041c5ad
add esp, 4
mov dword [esp + 0x1b0], ebp
mov dword [esp + 0x1ac], ebx
mov byte [esp + 0x19c], bl
cmp dword [esp + 0x15c], edi
jb 0x418ae0
mov edx, dword [esp + 0x148]
push edx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x108], edi
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jb 0x418b0e
mov eax, dword [esp + 0xf4]
push eax
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x124], edi
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x418b3c
mov ecx, dword [esp + 0x110]
push ecx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0xec], edi
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x418b6a
mov edx, dword [esp + 0xd8]
push edx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0xd0], edi
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov byte [esp + 0x1160], 3
jb 0x418ba0
mov eax, dword [esp + 0xbc]
push eax
call fcn.0041c5ad
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x1b8]
push 0xfa0
push edx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
call fcn.0041f1b3
add esp, 0xc
test eax, eax
jne 0x4183b0
mov eax, dword [esp + 0x18]
push eax
call fcn.0041de91
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004026ab
cmp dword [esp + 0x194], edi
jb 0x418c11
mov edx, dword [esp + 0x180]
push edx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x140], edi
mov dword [esp + 0x194], ebp
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
jb 0x418c3f
mov eax, dword [esp + 0x12c]
push eax
call fcn.0041c5ad
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x144], ebp
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x1158]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x114c]
pop ebp
pop ebx
xor ecx, esp
call fcn.0041c2f6
add esp, 0x1154
ret 0xc