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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4168c8
sub esp, 0x50
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 0x41631f
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x41631f
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x41631f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x416347
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416347
mov dword [eax + 8], 0xfffffade
jmp 0x416347
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41633d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41633d
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x82678c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.00416150
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416378
xor eax, eax
jmp 0x416384
call fcn.00422500
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x416341
lea eax, [0x826b18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00446760
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.00416150
movzx eax, byte [esp + 0x10]
test al, al
je 0x4164e5
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x826b2c], al
mov eax, dword [0x84d5f8]
cmp eax, 1
jne 0x4163fe
mov eax, 1
jmp 0x41640c
cmp eax, 2
jne 0x41640a
mov eax, 2
jmp 0x41640c
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [0x7f0250]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00446760
lea eax, [0x7f0270]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00446760
movzx eax, byte [0x8317a8]
test al, al
je 0x4164cd
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x8317d8]
mov ecx, dword [0x8317dc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00451ee0
mov eax, dword [0x8317d8]
add eax, 1
mov ecx, dword [0x8317dc]
mov dword [0x8317d8], eax
adc ecx, 0
mov dword [0x8317dc], ecx
mov eax, dword [0x826408]
mov dword [esp + 0x44], eax
mov ecx, dword [0x82640c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416514
nop
lea eax, [0x826b18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446a70
add esp, 0x50
ret
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x416549
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401c50
mov eax, dword [esp + 4]
mov ecx, dword [0x82d1f0]
cmp ecx, eax
je 0x416505
jmp 0x416811
call fcn.00418280
lea eax, [0x67ca88]
mov dword [esp], eax
call fcn.0045de80
mov eax, dword [0x84d1b4]
mov dword [0x826b58], eax
mov dword [0x826b5c], eax
mov ecx, dword [0x84d1d0]
cmp ecx, eax
jge 0x41657e
mov dword [0x826b58], ecx
lea eax, [0x84dd70]
mov dword [esp], eax
call fcn.00401e90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x826b94], eax
mov dword [0x826b90], ecx
mov dword [0x826b80], 0
mov dword [0x826b84], 0
mov eax, dword [esp + 0x14]
mov dword [0x826b28], eax
call fcn.004602b0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x826b64], eax
mov dword [0x826b60], ecx
mov dword [0x826b8c], eax
mov dword [0x826b88], ecx
movzx eax, byte [0x8317a8]
test al, al
je 0x41663f
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00451ee0
lea eax, [0x67cb54]
mov dword [esp], eax
call fcn.0045de80
lea eax, [0x67ca8c]
mov dword [esp], eax
call fcn.0045de80
call fcn.00419290
inc dword [0x826b54]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x84d1b4]
lea ebx, [0x84dd00]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
call fcn.0041d5a0
mov eax, dword [0x84dd60]
mov ecx, dword [0x84dd64]
mov dword [0x826ba8], eax
mov dword [0x826bac], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4166b7
mov byte [esp], 0
call fcn.00442b30
lea eax, [0x84d1b0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401e60
mov eax, dword [0x84d1b0]
cmp eax, 1
jne 0x4166df
mov eax, 1
jmp 0x4166e5
cmp eax, 2
sete al
mov byte [0x84d454], al
test al, al
je 0x4166f6
mov eax, 1
jmp 0x4166fd
movzx eax, byte [0x84d455]
mov byte [0x84d450], al
nop
mov dword [0x826ad8], 0xffffffff
mov dword [0x826ae4], 0xffffffff
call fcn.00419880
call fcn.0041d4b0
lea eax, [0x84d1a8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401e60
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 + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x4168e0]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045de80
lea eax, [0x7f0270]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446a70
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4167db
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4167d3
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4167e1
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4167e1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4167f1
lea eax, [0x67ca9c]
mov dword [esp], eax
call fcn.0045de20
nop
lea eax, [0x826b18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446a70
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.004364d0
lea eax, [0x66444b]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00436db0
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00436bb0
lea eax, [0x663a84]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436db0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00436a50
lea eax, [0x664ba7]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00436db0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436a50
call fcn.004366f0
call fcn.00436540
lea eax, [0x6681d7]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004349a0
nop
call fcn.0045df90
jmp fcn.004162b0