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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d5a3a
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 8]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push esi
mov byte [edi + 0x90], 1
mov dword [esp + 0x2c], esi
call fcn.00418bf4
lea eax, [edi + 0x40]
push eax
call fcn.00418bf4
lea eax, [edi + 0x5c]
push eax
mov dword [esp + 0x20], eax
call fcn.00418bf4
lea eax, [edi + 0x78]
mov dword [esp + 0x24], eax
call fcn.00418d07
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x68]
cmp dword [eax + 0x14], ebx
jne 0x418758
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ad67b
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [edx + 0x3c]
mov dword [esp + 0x90], ebx
cmp dword [esp + 0x5c], ebx
jne 0x418790
mov byte [esp + 0x17], bl
or dword [esp + 0x90], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00403537
mov al, byte [esp + 0x17]
jmp 0x418737
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x64]
test al, al
je 0x41880e
cmp dword [esp + 0x60], 8
mov esi, dword [esp + 0x4c]
jae 0x4187ab
lea esi, [esp + 0x4c]
call fcn.00464ab4
test al, al
je 0x4187ba
lea eax, [esp + 0x48]
jmp 0x4187d8
push 0x4e9568
lea ecx, [esp + 0x68]
call fcn.0040417e
mov byte [esp + 0x90], 1
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00403e21
mov dword [esp + 0x90], ebx
test byte [esp + 0x18], 1
je 0x418804
and dword [esp + 0x18], 0xfffffffe
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.00403537
mov byte [esp + 0x17], 1
jmp 0x418776
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x5c]
test al, al
jne 0x41882b
mov ecx, esi
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
push eax
call fcn.00403e21
jmp 0x418804
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
call fcn.0040d02e
mov ecx, eax
call fcn.0040cf40
cmp word [eax], 0x7b
jne 0x41881a
mov esi, 0x4ebcc4
push esi
call fcn.004af01d
pop ecx
push eax
push esi
xor ecx, ecx
lea eax, [esp + 0x50]
call fcn.00418dce
cmp eax, 1
jne 0x41896e
push eax
lea eax, [esp + 0x20]
push eax
xor eax, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], 0x7d
call fcn.00408e46
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x41896e
add eax, 0xfffffffe
push eax
push 2
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040cf96
mov byte [esp + 0x90], 2
cmp dword [esp + 0x7c], 8
mov esi, dword [esp + 0x68]
jae 0x4188ba
lea esi, [esp + 0x68]
call fcn.00464ab4
test al, al
je 0x4188c9
lea eax, [esp + 0x64]
jmp 0x4188e7
push 0x4e9568
lea ecx, [esp + 0x30]
call fcn.0040417e
mov byte [esp + 0x90], 3
mov dword [esp + 0x18], 2
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x40]
call fcn.00403e21
mov dword [esp + 0x90], 2
test byte [esp + 0x18], 2
je 0x418916
and dword [esp + 0x18], 0xfffffffd
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00403537
cmp dword [edi + 0x54], ebx
je 0x41895b
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
inc eax
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040cf96
mov byte [esp + 0x90], 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00403e21
mov byte [esp + 0x90], 2
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00403537
mov byte [esp + 0x90], bl
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.00403537
mov esi, 0x4ebccc
push esi
call fcn.004af01d
pop ecx
push eax
push esi
xor ecx, ecx
lea eax, [esp + 0x50]
call fcn.00418dce
cmp eax, ebx
jne 0x418a53
push 1
lea eax, [esp + 0x20]
push eax
xor eax, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], 0x7d
call fcn.00408e46
mov edi, eax
cmp edi, 0xffffffff
je 0x41896e
lea eax, [edi - 1]
push eax
push 1
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040cf96
mov byte [esp + 0x90], 5
lea esi, [esp + 0x64]
call fcn.00455470
test al, al
je 0x4189e7
mov eax, esi
call fcn.0044b0c0
mov dword [esp + 0x1c], eax
jmp 0x4189ec
or dword [esp + 0x1c], 0xffffffff
cmp dword [esp + 0x1c], 0xffffffff
je 0x418a36
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
call fcn.00418ca9
push 0xffffffffffffffff
inc edi
push edi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040cf96
mov byte [esp + 0x90], 6
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00403e21
mov byte [esp + 0x90], 5
jmp 0x41894f
lea eax, [esp + 0x48]
push eax
call fcn.00418bf4
mov byte [esp + 0x90], bl
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.00403537
mov ecx, dword [esp + 0x28]
jmp 0x41881c