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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414e26
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 0x4148cf
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x4148cf
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x4148cf
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4148f7
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4148f7
mov dword [eax + 8], 0xfffffade
jmp 0x4148f7
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4148ed
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4148ed
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x8dbb0c]
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.004146f0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x414928
xor eax, eax
jmp 0x414934
call fcn.00420400
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x4148f1
lea eax, [0x8dc518]
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.00440ee0
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.004146f0
movzx eax, byte [esp + 0x10]
test al, al
je 0x414aad
mov eax, dword [0x902098]
cmp eax, 1
jne 0x4149a3
mov eax, 1
jmp 0x4149b1
cmp eax, 2
jne 0x4149af
mov eax, 2
jmp 0x4149b1
xor eax, eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x54]
cmp ecx, 2
sete dl
mov byte [esp + 0x23], dl
lea ebx, [0x67312c]
mov dword [esp], ebx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00440ee0
lea eax, [0x67314c]
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.00440ee0
movzx eax, byte [esp + 0x23]
mov byte [0x8dc52c], al
movzx eax, byte [0x8e6088]
test al, al
je 0x414a95
nop
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [0x8e60b8]
mov ecx, dword [0x8e60bc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044b270
mov eax, dword [0x8e60b8]
mov ecx, dword [0x8e60bc]
add eax, 1
adc ecx, 0
mov dword [0x8e60b8], eax
mov dword [0x8e60bc], ecx
mov eax, dword [0x8db5d8]
mov dword [esp + 0x44], eax
mov ecx, dword [0x8db5dc]
mov dword [esp + 0x2c], ecx
xor edx, edx
jmp 0x414adc
nop
lea eax, [0x8dc518]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00441200
add esp, 0x50
ret
mov ebx, dword [esp + 0x28]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x414b0b
mov dword [esp + 0x28], 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.00402870
mov eax, dword [esp + 4]
cmp dword [0x8e1ad8], eax
je 0x414acd
jmp 0x414e0f
call fcn.004162e0
lea eax, [0x78290c]
mov dword [esp], eax
call fcn.00455580
mov eax, dword [0x901ab0]
mov dword [0x8dc550], eax
mov dword [0x8dc554], eax
mov ecx, dword [0x901ac8]
cmp ecx, eax
jge 0x414b40
mov dword [0x8dc550], ecx
lea eax, [0x902a50]
mov dword [esp], eax
call fcn.00402ae0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x8dc58c], eax
mov dword [0x8dc588], ecx
mov dword [0x8dc578], 0
mov dword [0x8dc57c], 0
mov eax, dword [esp + 0x24]
mov dword [0x8dc528], eax
call fcn.004579d0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [0x8dc55c], eax
mov dword [0x8dc558], ecx
mov dword [0x8dc584], eax
mov dword [0x8dc580], ecx
movzx eax, byte [0x8e6088]
test al, al
je 0x414c01
nop
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044b270
lea eax, [0x7829dc]
mov dword [esp], eax
call fcn.00455580
lea eax, [0x782910]
mov dword [esp], eax
call fcn.00455580
call fcn.00416e90
nop
lea eax, [0x8dc54c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004029e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [0x901ab0]
lea ebx, [0x902a00]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
call fcn.0041b6e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
lea edx, [0x9020e0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.00417480
mov eax, dword [esp + 0x24]
test eax, eax
je 0x414cb5
mov byte [esp], 0
call fcn.0043d4a0
lea eax, [0x901aac]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402ab0
mov eax, dword [0x901aac]
cmp eax, 1
jne 0x414cdd
mov eax, 1
jmp 0x414ce3
cmp eax, 2
sete al
mov byte [0x901e84], al
test al, al
je 0x414cf4
mov eax, 1
jmp 0x414cfb
movzx eax, byte [0x901e85]
mov byte [0x901e80], al
nop
mov dword [0x8dc4d8], 0xffffffff
mov dword [0x8dc4e4], 0xffffffff
call fcn.00418190
call fcn.0041b590
lea eax, [0x901aa4]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402ab0
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, [0x414e30]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00455580
lea eax, [0x67314c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00441200
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 0x414dd9
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414dd1
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x24]
test eax, eax
jmp 0x414ddf
mov eax, dword [esp + 0x24]
test eax, eax
jmp 0x414ddf
mov eax, dword [esp + 0x24]
test eax, eax
je 0x414def
lea eax, [0x782920]
mov dword [esp], eax
call fcn.00455520
nop
lea eax, [0x8dc518]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00441200
add esp, 0x50
ret
lea eax, [0x76e953]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00430b40
nop
call fcn.00455690
jmp fcn.00414860