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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417fa3
sub esp, 0x5c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x4179cf
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x4179cf
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x4179cf
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4179f7
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4179f7
mov dword [eax + 8], 0xfffffade
jmp 0x4179f7
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4179ed
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4179ed
mov dword [eax + 8], 0xfffffade
add esp, 0x5c
ret
inc dword [0x107e27c]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
call fcn.004177e0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417a28
xor eax, eax
jmp 0x417a34
call fcn.00425a10
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x4179f1
lea eax, [0x107e9d8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0044f280
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
call fcn.004177e0
movzx eax, byte [esp + 0x10]
test al, al
je 0x417b95
mov eax, dword [esp + 0x60]
cmp eax, 2
sete cl
mov byte [0x107e9ec], cl
mov ecx, dword [0x10a69b8]
cmp ecx, 1
jne 0x417aae
mov ecx, 1
jmp 0x417abc
cmp ecx, 2
jne 0x417aba
mov ecx, 2
jmp 0x417abc
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea eax, [0x100764c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0044f280
lea eax, [0x100766c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0044f280
movzx eax, byte [0x108a848]
test al, al
je 0x417b7d
nop
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [0x108a878]
mov ecx, dword [0x108a87c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0045b270
mov eax, dword [0x108a878]
add eax, 1
mov ecx, dword [0x108a87c]
mov dword [0x108a878], eax
adc ecx, 0
mov dword [0x108a87c], ecx
mov eax, dword [0x107d928]
mov dword [esp + 0x50], eax
mov ecx, dword [0x107d92c]
mov dword [esp + 0x34], ecx
xor edx, edx
jmp 0x417bc4
nop
lea eax, [0x107e9d8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044f590
add esp, 0x5c
ret
mov ebx, dword [esp + 0x30]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jge 0x417bf9
mov dword [esp + 0x30], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00402430
mov eax, dword [esp + 4]
mov ecx, dword [0x10862a0]
cmp ecx, eax
je 0x417bb5
jmp 0x417eec
call fcn.004199d0
lea eax, [0xb726ac]
mov dword [esp], eax
call fcn.00468580
mov eax, dword [0x10a62e0]
mov dword [0x107ea18], eax
mov dword [0x107ea1c], eax
mov ecx, dword [0x10a62fc]
cmp ecx, eax
jge 0x417c2e
mov dword [0x107ea18], ecx
lea eax, [0x10a73e0]
mov dword [esp], eax
call fcn.00402680
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x107ea54], eax
mov dword [0x107ea50], ecx
mov dword [0x107ea40], 0
mov dword [0x107ea44], 0
mov eax, dword [esp + 0x20]
mov dword [0x107e9e8], eax
call fcn.0046a9c0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [0x107ea24], eax
mov dword [0x107ea20], ecx
mov dword [0x107ea4c], eax
mov dword [0x107ea48], ecx
movzx eax, byte [0x108a848]
test al, al
je 0x417cef
nop
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0045b270
lea eax, [0xb72788]
mov dword [esp], eax
call fcn.00468580
lea eax, [0xb726b0]
mov dword [esp], eax
call fcn.00468580
call fcn.0041aa60
inc dword [0x107ea14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x10a62e0]
lea ebx, [0x10a7360]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
call fcn.0041fd20
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [0x10a6a60]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.0041b0a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x417d92
mov byte [esp], 0
call fcn.0044a250
lea eax, [0x10a62dc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402650
mov eax, dword [0x10a62dc]
cmp eax, 1
jne 0x417dba
mov eax, 1
jmp 0x417dc0
cmp eax, 2
sete al
mov byte [0x10a66d4], al
test al, al
je 0x417dd1
mov eax, 1
jmp 0x417dd8
movzx eax, byte [0x10a66d5]
mov byte [0x10a66d0], al
nop
mov dword [0x107e998], 0xffffffff
mov dword [0x107e9a4], 0xffffffff
call fcn.0041be30
call fcn.0041fba0
lea eax, [0x10a62d4]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402650
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [0x417fb0]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
mov dword [esp], ecx
call fcn.00468580
lea eax, [0x100766c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044f590
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x417eb6
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417eae
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x417ebc
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x417ebc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x417ecc
lea eax, [0xb726c8]
mov dword [esp], eax
call fcn.00468520
nop
lea eax, [0x107e9d8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044f590
add esp, 0x5c
ret
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
call fcn.0043d180
lea eax, [0xb3a2ea]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043da60
mov eax, dword [esp + 0x28]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043d860
lea eax, [0xb37a48]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043da60
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0043d700
lea eax, [0xb3bee0]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043da60
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043d700
call fcn.0043d3a0
call fcn.0043d1f0
lea eax, [0xb45aac]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0043b580
nop
call fcn.00468690
jmp fcn.00417960