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

Disassembly:
push 0xffffffffffffffff
push 0x4a847f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
mov ebx, ecx
push ebp
push esi
lea ecx, [esp + 0x14]
call fcn.004a6c5a
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0
call fcn.004a6c5a
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 1
call fcn.004a6c5a
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.004a6c5a
mov byte [esp + 0xa0], 3
call dword [0x4b2138]
mov esi, dword [0x4b2658]
and eax, 0xff
push 0x100000
mov dword [esp + 0x68], eax
call esi
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x60], ebp
je 0x419024
push edi
push 0x100000
mov dword [ebx + 0x124], ebp
call esi
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x34], edi
je 0x41900f
lea ecx, [esp + 0x6c]
mov dword [ebx + 0x128], edi
call fcn.004401c0
push 0x4cda2c
mov byte [esp + 0xa8], 4
call dword [0x4b2660]
add esp, 4
lea ecx, [esp + 0x6c]
push eax
push 0x4cda2c
call fcn.00440400
lea eax, [esp + 0x48]
lea ecx, [esp + 0x6c]
push eax
push 0x20019
call fcn.004402a0
push eax
lea ecx, [esp + 0x78]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x418fea
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push 0
push 0
push 0
push 0
push 0x100000
push ebp
push 0
push ecx
push edx
push 0x20
call fcn.004301e0
add esp, 0x28
cmp al, 1
jne 0x418fdf
mov dword [esp + 0x40], ebp
mov eax, dword [ebp + 0xc]
lea esi, [ebp + 0x10]
shr eax, 1
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.004a6e4c
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 5
call fcn.004401c0
push 0x4cda2c
mov byte [esp + 0xa8], 6
call dword [0x4b2660]
add esp, 4
lea ecx, [esp + 0x50]
push eax
push 0x4cda2c
call fcn.00440400
push 1
push 0x4cb224
lea ecx, [esp + 0x58]
call fcn.00440420
mov ecx, dword [ebp + 0xc]
shr ecx, 1
push ecx
push esi
lea ecx, [esp + 0x58]
call fcn.00440420
xor ebp, ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebp
call fcn.004a6e82
lea ecx, [esp + 0x18]
call fcn.004a6e82
lea edx, [esp + 0x28]
lea ecx, [esp + 0x50]
push edx
push 0x20019
call fcn.004402a0
push eax
lea ecx, [esp + 0x5c]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x418f7e
mov eax, dword [esp + 0x28]
push ebp
push ebp
push ebp
push ebp
push 0x100000
push edi
push 1
push ebp
push eax
push 0x21
call fcn.004301e0
add esp, 0x28
cmp al, 1
jne 0x418c58
mov esi, edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x418c25
shr eax, 1
lea ecx, [esi + 0x14]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004a6e4c
mov edx, dword [esp + 0x24]
mov edi, dword [0x4b26a8]
push 0x4cda18
push edx
mov byte [esp + 0xac], 7
call edi
add esp, 8
test eax, eax
jne 0x418b79
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x418c10
mov ecx, dword [esi + 0xc]
add eax, esi
shr ecx, 1
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.004a6e4c
lea edx, [esp + 0x30]
mov ecx, ebx
push edx
mov byte [esp + 0xa8], 8
call fcn.004183b0
cmp eax, 1
je 0x418c32
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
push 0x4cb1f8
push ecx
mov dword [esp + 0x50], 1
call fcn.004a6dda
add esp, 0xc
mov byte [esp + 0xa4], 7
lea ecx, [esp + 0x30]
jmp 0x418c0b
mov edx, dword [esp + 0x24]
push 0x4cf6d4
push edx
call edi
add esp, 8
test eax, eax
jne 0x418bac
mov eax, dword [esi + 8]
mov ebp, 1
cmp eax, 0xffffffff
je 0x418ba2
mov eax, dword [eax + esi]
mov dword [esp + 0x38], eax
jmp 0x418c10
mov dword [esp + 0x38], 5
jmp 0x418c10
mov ecx, dword [esp + 0x24]
push 0x4cf758
push ecx
call edi
add esp, 8
test eax, eax
jne 0x418c10
cmp dword [esp + 0x68], 6
je 0x418c10
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x418c10
mov edx, dword [esi + 0xc]
add eax, esi
shr edx, 1
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.004a6e4c
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
push eax
push 0x4cb1f8
push ecx
mov byte [esp + 0xb0], 9
call fcn.004a6dda
add esp, 0xc
mov byte [esp + 0xa4], 7
lea ecx, [esp + 0x4c]
call fcn.004a6c6c
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 6
call fcn.004a6c6c
mov edi, dword [esp + 0x34]
mov eax, dword [esi]
test eax, eax
je 0x418c58
add esi, eax
jmp 0x418ad2
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 7
call fcn.004a6c6c
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 6
call fcn.004a6c6c
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push edx
call dword [0x4b2034]
cmp ebp, 1
jne 0x418f7e
cmp dword [esp + 0x44], ebp
jne 0x418f7e
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
mov eax, dword [eax - 8]
push eax
call fcn.004a6d8c
push eax
mov ecx, ebx
call fcn.004182e0
mov edx, dword [ebx + 0xc0]
push 0
push 0
push 0x1004
push edx
call dword [0x4b279c]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jne 0x418d72
mov eax, dword [esp + 0x20]
lea esi, [ebx + 0xa0]
push eax
push ecx
mov ecx, esi
call fcn.00404450
mov ecx, dword [esp + 0x10]
push ebp
push ecx
mov ecx, esi
call fcn.00404f10
mov ebp, dword [ebx + 0x12c]
push 0xf003f
inc ebp
push 0
push 0
mov dword [ebx + 0x12c], ebp
call dword [0x4b204c]
mov edi, eax
test edi, edi
je 0x418d6e
mov edx, dword [esp + 0x20]
push 5
push edx
push edi
call dword [0x4b2054]
mov ebp, eax
test ebp, ebp
je 0x418d67
lea eax, [esp + 0x80]
push eax
push ebp
call dword [0x4b2004]
test eax, eax
je 0x418d60
mov eax, dword [esp + 0x84]
cmp eax, 7
ja 0x418d2f
test eax, eax
jne 0x418d34
mov eax, 8
mov ecx, dword [0x545f7c]
dec eax
and eax, 7
mov dword [esp + 0x84], eax
lea edx, [ecx + eax*2]
mov ecx, dword [esp + 0x10]
add eax, edx
mov eax, dword [eax*4 + 0x4cee90]
push eax
push 1
push ecx
mov ecx, esi
call fcn.00404b00
push ebp
call dword [0x4b2008]
push edi
call dword [0x4b2008]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x14]
call fcn.004a6e82
push 0x4cfa2c
call dword [0x4b2660]
add esp, 4
lea ecx, [esp + 0x50]
push eax
push 0x4cfa2c
call fcn.00440420
lea edx, [esp + 0x28]
lea ecx, [esp + 0x50]
push edx
push 0x20019
call fcn.004402a0
push eax
lea ecx, [esp + 0x5c]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x418e1f
mov eax, dword [esp + 0x28]
push 0x100000
push edi
push 0x4cfa14
push 1
push eax
call fcn.00430460
add esp, 0x14
cmp al, 1
jne 0x418e14
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x418e14
add eax, dword [edi + 0xc]
mov byte [eax + edi], 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
add ecx, eax
lea eax, [esp + 0x14]
mov byte [ecx + edi + 1], 0
mov edx, dword [edi + 8]
add edx, edi
push edx
push 0x4cb1f8
push eax
call fcn.004a6dda
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x4b2034]
mov eax, dword [esp + 0x38]
cmp eax, 4
jbe 0x418e34
mov dword [esp + 0x38], 4
mov eax, dword [esp + 0x38]
mov edx, dword [0x545f7c]
lea esi, [ebx + 0xa0]
lea ecx, [edx + eax*2]
add eax, ecx
mov ecx, esi
mov edx, dword [eax*4 + 0x4ceef0]
mov eax, dword [esp + 0x10]
push edx
push 2
push eax
call fcn.00404b00
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x418e75
mov ecx, dword [esp + 0x10]
push eax
push 3
push ecx
mov ecx, esi
call fcn.00404b00
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
call fcn.00418630
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push 4
push ecx
mov ecx, esi
call fcn.00404b00
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
call fcn.00418770
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0040b780
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, esi
push edx
push 5
push eax
call fcn.00404b00
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00404ef0
test eax, eax
jne 0x418ef4
lea edx, [esp + 0x1c]
push edx
call fcn.0040c0a0
add esp, 4
test eax, eax
jne 0x418ef4
mov eax, dword [esp + 0x10]
push 3
push eax
mov ecx, esi
call fcn.00404f10
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00418630
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push 6
push eax
mov ecx, esi
call fcn.00404b00
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00418770
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0040b780
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add esp, 8
push ecx
push 7
push edx
mov ecx, esi
call fcn.00404b00
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00404ef0
test eax, eax
jne 0x418f7e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x418f7e
lea edx, [esp + 0x1c]
push edx
call fcn.0040c0a0
add esp, 4
test eax, eax
jne 0x418f7e
mov eax, dword [esp + 0x10]
push 3
push eax
mov ecx, esi
call fcn.00404f10
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
inc ecx
mov byte [esp + 0xa4], 5
mov eax, dword [esi]
mov dword [esp + 0x3c], ecx
test eax, eax
lea ecx, [esp + 0x50]
je 0x418fc0
call fcn.00440270
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 4
call fcn.004a6c6c
add esi, dword [esi]
mov dword [esp + 0x40], esi
mov ebp, esi
jmp 0x4189fd
call fcn.00440270
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 4
call fcn.004a6c6c
mov ebp, dword [esp + 0x64]
jmp 0x4189cd
mov ecx, dword [esp + 0x48]
push ecx
call dword [0x4b2034]
push edi
mov dword [ebx + 0x128], 0
call dword [0x4b2654]
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4], 3
call fcn.00440270
push ebp
mov dword [ebx + 0x124], 0
call dword [0x4b2654]
add esp, 4
pop edi
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.004a6c6c
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 1
call fcn.004a6c6c
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 0
call fcn.004a6c6c
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004a6c6c
mov ecx, dword [esp + 0x98]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret