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

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418636
sub esp, 0x64
mov eax, dword [0x93d128]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x18]
cmp dword [eax], ecx
je 0x418167
mov edx, dword [eax + 0x7c]
cmp edx, 1
jg 0x418167
mov ebx, dword [eax + 0x78]
test ebx, ebx
jne 0x418167
lea ebx, [edx - 1]
nop
mov dword [eax + 0x7c], ebx
cmp edx, 1
jne 0x418189
movzx eax, byte [ecx + 0x65]
test al, al
je 0x418189
mov dword [ecx + 8], 0xfffffade
jmp 0x418189
mov edx, dword [eax + 0x7c]
lea ebx, [edx - 1]
nop
mov dword [eax + 0x7c], ebx
cmp edx, 1
jne 0x418185
movzx eax, byte [ecx + 0x65]
test al, al
je 0x418185
mov dword [ecx + 8], 0xfffffade
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
call fcn.00417f90
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4181ba
xor eax, eax
jmp 0x4181c6
call fcn.00424240
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x418189
nop
lea eax, [0x8fe5f8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00446c50
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
call fcn.00417f90
movzx eax, byte [esp + 0x10]
test al, al
je 0x4182f2
mov eax, dword [0x93d840]
cmp eax, 1
jne 0x418236
mov eax, 1
jmp 0x418244
cmp eax, 2
jne 0x418242
mov eax, 2
jmp 0x418244
xor eax, eax
mov dword [esp + 0x34], eax
lea ecx, [0x714090]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00446c50
nop
lea eax, [0x71408c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00446c50
mov eax, dword [esp + 0x68]
cmp eax, 2
sete cl
mov byte [0x8fe60c], cl
call fcn.00452630
mov eax, dword [esp + 4]
test eax, eax
je 0x4182da
mov dword [esp + 0x40], eax
mov eax, dword [esp]
mov dword [esp + 0x4c], eax
call fcn.00452a00
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.00452740
mov eax, dword [0x8fdce8]
mov dword [esp + 0x48], eax
mov ecx, dword [0x8fdcec]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x418321
nop
lea eax, [0x8fe5f8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446fb0
add esp, 0x64
ret
mov ebx, dword [esp + 0x38]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x418350
mov dword [esp + 0x38], edx
mov ecx, dword [eax + edx*4]
mov ecx, dword [ecx + 0x30]
test byte [ecx], al
add ecx, 0x24c
mov dword [esp], ecx
call fcn.00403650
mov eax, dword [esp + 4]
cmp dword [0x904ed0], eax
je 0x418312
jmp 0x41861f
call fcn.00419c50
lea eax, [0x796474]
mov dword [esp], eax
call fcn.0045dbc0
mov eax, dword [0x93d0e0]
mov dword [0x8fe630], eax
mov dword [0x8fe634], eax
mov ecx, dword [0x93d0e4]
cmp ecx, eax
jge 0x418385
mov dword [0x8fe630], ecx
lea eax, [0x93e148]
mov dword [esp], eax
call fcn.004038c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x8fe660], eax
mov dword [0x8fe664], ecx
mov dword [0x8fe658], 0
mov dword [0x8fe65c], 0
mov eax, dword [esp + 0x34]
mov dword [0x8fe608], eax
call fcn.0045fe70
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x8fe638], eax
mov dword [0x8fe63c], ecx
mov byte [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x418780]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
call fcn.0045dbc0
lea eax, [0x79647c]
mov dword [esp], eax
call fcn.0045dbc0
call fcn.0041a7e0
nop
lea eax, [0x8fe62c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004037c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x93d0e0]
lea ebx, [0x93e0e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
call fcn.0041ef70
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea edx, [0x93d7c0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0041adb0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4184ce
mov byte [esp], 0
call fcn.004427e0
nop
lea eax, [0x93d060]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403890
mov eax, dword [0x93d060]
cmp eax, 1
jne 0x4184f7
mov eax, 1
jmp 0x4184fd
cmp eax, 2
sete al
mov byte [0x93d218], al
nop
mov dword [0x8fe5b8], 0xffffffff
mov dword [0x8fe5c4], 0xffffffff
call fcn.0041bab0
call fcn.0041ee20
lea eax, [0x93d064]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403890
mov eax, dword [0x93d128]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [0x418640]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x50]
mov dword [esp], ecx
call fcn.0045dbc0
nop
lea eax, [0x71408c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446fb0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x93d128]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x4185e8
movzx eax, byte [ebx + 0x65]
test al, al
je 0x4185e0
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x34]
test eax, eax
jmp 0x4185ee
mov eax, dword [esp + 0x34]
test eax, eax
jmp 0x4185ee
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4185ff
nop
lea eax, [0x79648c]
mov dword [esp], eax
call fcn.0045db60
nop
lea eax, [0x8fe5f8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446fb0
add esp, 0x64
ret
lea eax, [0x78b031]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00434b60
nop
call fcn.0045dcb0
jmp fcn.00418100