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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41b005
sub esp, 0x6c
xor eax, eax
lea edi, [esp + 0x54]
call fcn.0044a0ca
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x70]
test edx, edx
jne 0x41a760
mov edx, dword [ecx + 0x60]
test edx, edx
jne 0x41a760
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x41afed
mov ecx, dword [0x76ebd4]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x70]
movzx ebx, byte [edx + 0x3c]
mov byte [esp + 0x19], bl
cmp bl, 1
jne 0x41af2c
mov ebp, dword [edx + 0x30]
lea esi, [ecx - 1]
mov dword [esp + 0x3c], esi
cmp ebp, esi
jne 0x41af2c
movzx ebx, byte [0x7744e8]
test bl, bl
jne 0x41af12
mov ebx, dword [edx + 0x10]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
lea ebx, [0x76ec30]
mov dword [esp], ebx
call fcn.004014d0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 0x58]
test byte [edx], al
movzx ebx, byte [ecx + 0x3a]
mov byte [esp + 0x18], bl
mov ebp, dword [ecx + 0x40]
mov dword [esp + 0x24], ebp
mov eax, dword [eax + 0xb0]
mov dword [esp + 0x48], eax
mov esi, dword [ecx + 0x58]
mov dword [esp + 0x40], edx
test esi, esi
je 0x41a850
movzx edi, word [esi + 4]
test ebp, ebp
je 0x41af0b
mov eax, edi
xor edx, edx
div ebp
mov edx, dword [ecx + 0x2c]
mov edi, eax
shr eax, 3
add edx, eax
mov dword [esp + 0x50], edx
mov eax, ebp
imul ebp, edi
and edi, 7
mov ecx, edi
mov ebx, 1
shl ebx, cl
movzx edi, byte [edx]
xchg edi, eax
test al, bl
xchg edi, eax
je 0x41ae3d
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
movzx ebx, byte [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, esi
mov esi, edx
mov edx, edi
mov dword [esp + 0x40], edx
test esi, esi
jne 0x41a7f1
mov edx, dword [0x77c900]
test edx, edx
je 0x41a907
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x54], edx
mov byte [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x60], edx
mov byte [esp + 0x64], 1
mov dword [esp + 0x68], 0
xor edx, edx
mov dword [esp + 0x2c], edx
mov esi, dword [ecx + 0x1c]
cmp edx, esi
jae 0x41a907
mov esi, dword [esp + 0x54]
movzx esi, byte [esi]
movzx edi, byte [esp + 0x58]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x41add6
movzx esi, byte [esp + 0x58]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41adc9
mov esi, dword [esp + 0x54]
inc esi
mov dword [esp + 0x54], esi
mov byte [esp + 0x58], 1
mov esi, dword [esp + 0x5c]
inc esi
mov dword [esp + 0x5c], esi
movzx esi, byte [esp + 0x64]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41adbc
mov esi, dword [esp + 0x60]
inc esi
mov dword [esp + 0x60], esi
mov byte [esp + 0x64], 1
mov esi, dword [esp + 0x68]
inc esi
mov dword [esp + 0x68], esi
inc edx
mov dword [esp + 0x2c], edx
mov esi, dword [ecx + 0x1c]
cmp edx, esi
jb 0x41a893
mov dword [esp], ecx
call fcn.0040ecd0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
movzx ecx, byte [esp + 0x18]
test cl, cl
jne 0x41adb1
test eax, eax
je 0x41ada6
mov edx, dword [esp + 0x70]
mov byte [edx + 0x3d], 1
mov ebx, 1
mov byte [esp + 0x17], bl
mov ebp, dword [edx + 0x1c]
mov dword [esp + 0x38], ebp
sub ebp, eax
mov word [esp + 0x1c], bp
movzx edi, word [edx + 0x38]
mov word [esp + 0x1e], di
sub edi, ebp
mov word [esp + 0x1a], di
movzx eax, word [esp + 0x1e]
cmp bp, ax
ja 0x41ac91
mov word [edx + 0x38], bp
mov dword [esp], edx
call fcn.0040dcd0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x34], edx
mov dword [ecx + 0x18], 0
mov ebx, dword [ecx + 0x2c]
mov ebp, dword [0x77c810]
lea esi, [ecx + 0x28]
test ebp, ebp
jne 0x41ac74
mov dword [ecx + 0x28], ebx
mov ebx, dword [ecx + 0x1c]
mov dword [esp], ebx
call fcn.0041f1c0
mov eax, dword [esp + 4]
mov ecx, dword [0x77c810]
mov edx, dword [esp + 0x70]
lea ebx, [edx + 0x2c]
test ecx, ecx
jne 0x41ac5f
mov dword [edx + 0x2c], eax
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.0040dc20
movzx eax, byte [esp + 0x17]
test al, al
je 0x41ac4c
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx + 0x3c]
mov byte [esp + 0x19], dl
cmp dl, 1
jne 0x41ab8b
mov ebx, dword [ecx + 0x30]
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jne 0x41ab8b
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.004016c0
movzx eax, word [esp + 0x1a]
test ax, ax
jbe 0x41ab7f
movzx ecx, byte [esp + 0x18]
test cl, cl
je 0x41aafa
mov edx, dword [esp + 0x48]
test byte [edx], al
movzx ecx, cl
cmp ecx, 0x43
jae 0x41aaf3
mov ebx, dword [edx + ecx*4 + 0x144]
movzx eax, ax
add eax, ebx
mov dword [edx + ecx*4 + 0x144], eax
imul ecx, ecx, 0x58
lea eax, [0x76e3c0]
lea eax, [eax + ecx + 0xac0]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x74]
mov byte [esp + 8], cl
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, edx
sete cl
mov byte [esp + 9], cl
call fcn.00410740
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x15], al
test al, al
je 0x41aac7
movzx ecx, byte [0x7744e8]
test cl, cl
jne 0x41aabb
mov byte [esp + 0x78], al
add esp, 0x6c
ret
call fcn.0043f1d0
movzx eax, byte [esp + 0x15]
jmp 0x41aab3
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*4]
lea edx, [0x76ebf4]
lea ecx, [edx + ecx*4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0041b2b0
movzx eax, byte [esp + 0x15]
jmp 0x41aaa8
call fcn.00424660
ud2
movzx eax, byte [esp + 0x17]
test al, al
je 0x41ab78
mov eax, dword [0x77c908]
test eax, eax
jle 0x41ab58
mov eax, dword [esp + 0x70]
mov dword [eax + 0x50], 0
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.00410e20
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x140]
inc ecx
mov dword [eax + 0x140], ecx
mov ecx, dword [eax + 0x13c]
mov edx, dword [esp + 0x24]
add ecx, edx
mov dword [eax + 0x13c], ecx
mov eax, 1
jmp 0x41aaa0
lea eax, [0x76e3c0]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0041db70
jmp 0x41ab2b
xor eax, eax
jmp 0x41aaa0
movzx eax, byte [esp + 0x17]
test al, al
jmp 0x41ab01
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x3c], eax
call fcn.004264b0
lea eax, [0x64f714]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00426d20
movzx eax, byte [esp + 0x19]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64c64c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00426d20
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64e36c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00426d20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64ac67]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00426d20
call fcn.00426520
lea eax, [0x656ce4]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00425c70
ud2
movzx ecx, word [esp + 0x1a]
test cx, cx
jne 0x41aa21
jmp 0x41a9ea
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov edx, dword [esp + 0x70]
jmp 0x41a9cd
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.0040d580
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
jmp 0x41a9a6
call fcn.004264b0
lea eax, [0x64e94c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00426d20
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64b908]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00426d20
mov eax, dword [esp + 0x28]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00426b60
lea eax, [0x64bcdd]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00426d20
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x6503ae]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00426d20
movzx eax, word [esp + 0x1e]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64bced]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00426d20
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64ac67]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00426d20
call fcn.00426520
lea eax, [0x65500f]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00425c70
ud2
mov edx, dword [esp + 0x70]
xor ebx, ebx
jmp 0x41a939
mov edx, dword [esp + 0x70]
xor ebx, ebx
jmp 0x41a939
shl esi, 1
xchg esi, eax
mov byte [esp + 0x64], al
xchg esi, eax
jmp 0x41a8f2
shl esi, 1
xchg esi, eax
mov byte [esp + 0x58], al
xchg esi, eax
jmp 0x41a8cb
mov esi, dword [ecx + 0x18]
mov edi, dword [esp + 0x68]
cmp edi, esi
jae 0x41ae21
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x40]
imul edi, edx
add esi, edi
mov edi, dword [0x77c900]
test edi, edi
jne 0x41adfb
jmp 0x41a8ad
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00420210
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x18]
mov ebp, dword [esp + 0x24]
jmp 0x41a8ad
mov esi, dword [esp + 0x60]
movzx esi, byte [esi]
movzx edi, byte [esp + 0x64]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x41a8ad
jmp 0x41ade1
add ebp, eax
mov dword [esp + 0x30], ebp
mov ecx, esi
test esi, esi
je 0x41ae6c
movzx edx, word [esi + 4]
cmp edx, ebp
jae 0x41af04
movzx edx, byte [esi + 6]
cmp dl, 1
je 0x41aef0
mov esi, dword [esi]
mov edx, dword [esp + 0x50]
test esi, esi
jne 0x41ae49
xor edx, edx
mov byte [esp + 0x16], dl
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
test ecx, ecx
je 0x41aeae
movzx esi, word [ecx + 4]
cmp esi, ebp
jae 0x41aeae
mov edi, dword [esp + 0x70]
mov ebx, dword [edi + 0xc]
add ebx, esi
movzx esi, byte [ecx + 6]
xchg esi, eax
cmp al, 1
xchg esi, eax
je 0x41aeb7
test dl, dl
je 0x41aeb7
mov ebx, dword [ecx]
mov esi, ecx
mov ecx, ebx
mov ebx, esi
mov dword [esp + 0x40], ebx
test ecx, ecx
jne 0x41ae7e
mov edx, ecx
mov esi, ebx
jmp 0x41a831
mov esi, dword [ecx]
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x40]
mov dword [edx], esi
mov dword [esp], ecx
mov ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0041f080
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x16]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x41aea0
or edi, ebx
mov edx, dword [esp + 0x50]
xchg edi, eax
mov byte [edx], al
xchg edi, eax
mov edx, 1
jmp 0x41ae6e
xor edx, edx
jmp 0x41ae6e
call fcn.00424720
ud2
call fcn.0043f180
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
jmp 0x41a7a0
mov eax, dword [edx + 0x30]
mov dword [esp + 0x3c], eax
call fcn.004264b0
lea eax, [0x64f714]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00426d20
movzx eax, byte [esp + 0x19]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64c64c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00426d20
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64e36c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00426d20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b60
lea eax, [0x64ac67]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00426d20
call fcn.00426520
lea eax, [0x652d67]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00425c70
ud2
lea eax, [0x653377]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00425c70
ud2
call fcn.00448420
jmp fcn.0041a710