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

Disassembly:
push 0xffffffffffffffff
push 0x4709d8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0xac]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], eax
call fcn.0040c290
push eax
mov dword [esp + 0x90], 0
call fcn.00418740
mov ebp, eax
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x8c], 0xffffffff
test eax, eax
je 0x418dfa
mov esi, eax
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], esi
call fcn.00440fc7
mov eax, dword [esi + 4]
test eax, eax
je 0x418dd4
cmp eax, 0xffffffff
jae 0x418dd4
dec eax
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x24]
not esi
call fcn.00440fef
and esi, dword [esp + 0x30]
je 0x418df6
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call fcn.004182a0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
mov dword [esp + 0x8c], 1
call eax
xor ecx, ecx
mov byte [esp + 0x30], al
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ecx
mov byte [esp + 0x48], cl
mov al, byte [edi]
mov byte [esp + 0x8c], 2
cmp al, 0x2b
je 0x418e47
mov dword [esp + 0x24], ecx
cmp al, 0x2d
jne 0x418e4f
mov dword [esp + 0x24], 1
call fcn.00456215
mov ecx, dword [eax]
mov dl, byte [ecx]
push ebx
push 0x65
push edi
mov byte [esp + 0x2c], dl
mov word [esp + 0x2d], 0x65
call fcn.00454b20
mov ebp, eax
movsx eax, byte [esp + 0x2c]
push ebx
push eax
push edi
call fcn.00454b20
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x418e8a
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
mov eax, edx
cmp ecx, 0x10
jae 0x418e9d
lea eax, [esp + 0x64]
cmp byte [eax], 0x7f
je 0x418fdc
mov eax, edx
cmp ecx, 0x10
jae 0x418eb1
lea eax, [esp + 0x64]
cmp byte [eax], 0
jle 0x418fdc
push ebx
push edi
lea ecx, [esp + 0x50]
call fcn.004064d0
test ebp, ebp
jne 0x418edf
mov ecx, dword [esp + 0x18]
push 0x30
push ecx
lea ecx, [esp + 0x50]
call fcn.00412b60
mov esi, dword [esp + 0x14]
jmp 0x418f0e
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x418efb
mov edx, dword [esp + 0x1c]
push 0x30
push edx
lea ecx, [esp + 0x50]
call fcn.00412b60
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x18]
push 0x30
push eax
sub ebp, edi
push ebp
lea ecx, [esp + 0x54]
call fcn.00418400
push 0x30
test esi, esi
jne 0x418f24
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.00412b60
jmp 0x418f51
mov edx, dword [esp + 0x40]
sub esi, edi
push edx
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x54]
call fcn.00418400
mov ecx, dword [esp + 0x1c]
push 0x30
push ecx
push esi
lea ecx, [esp + 0x54]
call fcn.00418400
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x64]
mov ebx, 0x10
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x78], ebx
jae 0x418f6c
lea edi, [esp + 0x64]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x418f7a
lea eax, [esp + 0x48]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00456240
mov esi, eax
mov al, byte [edi]
add esp, 8
cmp al, 0x7f
je 0x418fbe
test al, al
jle 0x418fbe
mov ecx, esi
sub ecx, dword [esp + 0x24]
movsx eax, al
cmp eax, ecx
jae 0x418fbe
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x54]
call fcn.00418400
cmp byte [edi + 1], 0
jle 0x418fb8
inc edi
mov al, byte [edi]
cmp al, 0x7f
jne 0x418f90
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x418fcc
lea edi, [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
lea eax, [ebx + edx]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x1c]
cmp dword [esi + 0x24], 0
jl 0x419006
jg 0x418ffa
test ecx, ecx
je 0x419006
cmp ecx, eax
jbe 0x419006
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x41900e
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x94]
and eax, 0x1c0
cmp eax, 0x40
je 0x4190b0
cmp eax, 0x100
jne 0x41906a
cmp dword [esp + 0x24], 0
jbe 0x41906a
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 1
push edi
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00418190
mov ecx, dword [eax]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 4]
add esp, 0x18
inc edi
mov dword [esp + 0xa0], edx
dec ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.004180e0
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0xb8], eax
add esp, 0x18
movsx ecx, byte [esp + 0x20]
push ebx
push ecx
push edi
call fcn.00454b20
add esp, 0xc
test eax, eax
je 0x4191ab
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xa0]
sub eax, edi
push edx
mov edx, dword [esp + 0xa0]
lea ebp, [eax + 1]
lea eax, [ebp - 1]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00418200
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0xc0], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0x30
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
call fcn.004180e0
mov edx, dword [eax]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xd0], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xd4], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 0x34
call eax
mov edx, dword [esp + 0xa0]
push 1
mov byte [esp + 0x38], al
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.004180e0
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x54]
push edx
mov dword [esp + 0xbc], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.004180e0
mov ecx, dword [eax]
mov dword [esp + 0xcc], ecx
mov edx, dword [eax + 4]
add esp, 0x30
add edi, ebp
mov dword [esp + 0xa0], edx
sub ebx, ebp
push ebx
push 0x65
push edi
call fcn.00454b20
add esp, 0xc
test eax, eax
je 0x419276
mov edx, dword [esp + 0xa0]
sub eax, edi
lea ebp, [eax + 1]
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0xa0]
lea ecx, [ebp - 1]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.00418200
mov edx, dword [eax]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0xc0], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x60]
push eax
push esi
call fcn.004180e0
mov ecx, dword [eax]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [eax + 4]
add esp, 0x34
test byte [ecx + 0x14], 4
mov dword [esp + 0xa0], edx
mov dword [esp + 0x18], 0
mov ecx, 0x481de8
jne 0x419247
mov ecx, 0x481de4
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00418190
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 4]
add esp, 0x18
add edi, ebp
mov dword [esp + 0xa0], eax
sub ebx, ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push ecx
push ebx
push edi
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.00418200
mov edx, dword [eax]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0xc0], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x60]
push eax
push esi
call fcn.004180e0
mov ecx, dword [eax]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
mov dword [esp + 0xd0], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x20], ebx
mov dword [edx + 0x24], ebx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0xe0]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0xec], eax
call fcn.004180e0
mov esi, 0x10
add esp, 0x4c
cmp dword [esp + 0x5c], esi
jb 0x419318
mov eax, dword [esp + 0x48]
push eax
call fcn.004533ae
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x78], esi
jb 0x41933b
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004533ae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0045407e
add esp, 0x7c
ret