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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41b025
sub esp, 0x6c
xor eax, eax
lea edi, [esp + 0x54]
call fcn.0044a37a
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 0x41a780
mov edx, dword [ecx + 0x60]
test edx, edx
jne 0x41a780
mov ecx, dword [ecx]
cmp eax, ecx
jne 0x41b00d
mov ecx, dword [0x876a94]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x70]
movzx ebx, byte [edx + 0x3c]
mov byte [esp + 0x19], bl
cmp bl, 1
jne 0x41af4c
mov ebp, dword [edx + 0x30]
lea esi, [ecx - 1]
mov dword [esp + 0x3c], esi
cmp ebp, esi
jne 0x41af4c
movzx ebx, byte [0x87c3a8]
test bl, bl
jne 0x41af32
mov ebx, dword [edx + 0x10]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
lea ebx, [0x876af0]
mov dword [esp], ebx
call fcn.00401540
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 0x41a870
movzx edi, word [esi + 4]
test ebp, ebp
je 0x41af2b
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 0x41ae5d
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 0x41a811
mov edx, dword [0x884840]
test edx, edx
je 0x41a927
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 0x41a927
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 0x41adf6
movzx esi, byte [esp + 0x58]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41ade9
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 0x41addc
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 0x41a8b3
mov dword [esp], ecx
call fcn.0040ecf0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
movzx ecx, byte [esp + 0x18]
test cl, cl
jne 0x41add1
test eax, eax
je 0x41adc6
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 0x41acb1
mov word [edx + 0x38], bp
mov dword [esp], edx
call fcn.0040dcf0
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 [0x884700]
lea esi, [ecx + 0x28]
test ebp, ebp
jne 0x41ac94
mov dword [ecx + 0x28], ebx
mov ebx, dword [ecx + 0x1c]
mov dword [esp], ebx
call fcn.0041f1e0
mov eax, dword [esp + 4]
mov ecx, dword [0x884700]
mov edx, dword [esp + 0x70]
lea ebx, [edx + 0x2c]
test ecx, ecx
jne 0x41ac7f
mov dword [edx + 0x2c], eax
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.0040dc40
movzx eax, byte [esp + 0x17]
test al, al
je 0x41ac6c
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx + 0x3c]
mov byte [esp + 0x19], dl
cmp dl, 1
jne 0x41abab
mov ebx, dword [ecx + 0x30]
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jne 0x41abab
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.00401730
movzx eax, word [esp + 0x1a]
test ax, ax
jbe 0x41ab9f
movzx ecx, byte [esp + 0x18]
test cl, cl
je 0x41ab1a
mov edx, dword [esp + 0x48]
test byte [edx], al
movzx ecx, cl
cmp ecx, 0x43
jae 0x41ab13
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, [0x876280]
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.00410760
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x15], al
test al, al
je 0x41aae7
movzx ecx, byte [0x87c3a8]
test cl, cl
jne 0x41aadb
mov byte [esp + 0x78], al
add esp, 0x6c
ret
call fcn.0043f460
movzx eax, byte [esp + 0x15]
jmp 0x41aad3
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*4]
lea edx, [0x876ab4]
lea ecx, [edx + ecx*4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0041b2d0
movzx eax, byte [esp + 0x15]
jmp 0x41aac8
call fcn.00424680
ud2
movzx eax, byte [esp + 0x17]
test al, al
je 0x41ab98
mov eax, dword [0x884848]
test eax, eax
jle 0x41ab78
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.00410e40
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 0x41aac0
lea eax, [0x876280]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0041db90
jmp 0x41ab4b
xor eax, eax
jmp 0x41aac0
movzx eax, byte [esp + 0x17]
test al, al
jmp 0x41ab21
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x3c], eax
call fcn.004264d0
lea eax, [0x709d85]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00426d40
movzx eax, byte [esp + 0x19]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x70644d]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00426d40
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x70871e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00426d40
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x704028]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00426d40
call fcn.00426540
lea eax, [0x712a22]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00425c90
ud2
movzx ecx, word [esp + 0x1a]
test cx, cx
jne 0x41aa41
jmp 0x41aa0a
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d5a0
mov edx, dword [esp + 0x70]
jmp 0x41a9ed
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.0040d5a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
jmp 0x41a9c6
call fcn.004264d0
lea eax, [0x708dce]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00426d40
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x7054e7]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00426d40
mov eax, dword [esp + 0x28]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00426b80
lea eax, [0x70599b]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00426d40
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x70ab96]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00426d40
movzx eax, word [esp + 0x1e]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x7059ab]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00426d40
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x704028]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00426d40
call fcn.00426540
lea eax, [0x71066a]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00425c90
ud2
mov edx, dword [esp + 0x70]
xor ebx, ebx
jmp 0x41a959
mov edx, dword [esp + 0x70]
xor ebx, ebx
jmp 0x41a959
shl esi, 1
xchg esi, eax
mov byte [esp + 0x64], al
xchg esi, eax
jmp 0x41a912
shl esi, 1
xchg esi, eax
mov byte [esp + 0x58], al
xchg esi, eax
jmp 0x41a8eb
mov esi, dword [ecx + 0x18]
mov edi, dword [esp + 0x68]
cmp edi, esi
jae 0x41ae41
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x40]
imul edi, edx
add esi, edi
mov edi, dword [0x884840]
test edi, edi
jne 0x41ae1b
jmp 0x41a8cd
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00420230
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 0x41a8cd
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 0x41a8cd
jmp 0x41ae01
add ebp, eax
mov dword [esp + 0x30], ebp
mov ecx, esi
test esi, esi
je 0x41ae8c
movzx edx, word [esi + 4]
cmp edx, ebp
jae 0x41af24
movzx edx, byte [esi + 6]
cmp dl, 1
je 0x41af10
mov esi, dword [esi]
mov edx, dword [esp + 0x50]
test esi, esi
jne 0x41ae69
xor edx, edx
mov byte [esp + 0x16], dl
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
test ecx, ecx
je 0x41aece
movzx esi, word [ecx + 4]
cmp esi, ebp
jae 0x41aece
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 0x41aed7
test dl, dl
je 0x41aed7
mov ebx, dword [ecx]
mov esi, ecx
mov ecx, ebx
mov ebx, esi
mov dword [esp + 0x40], ebx
test ecx, ecx
jne 0x41ae9e
mov edx, ecx
mov esi, ebx
jmp 0x41a851
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.0041f0a0
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 0x41aec0
or edi, ebx
mov edx, dword [esp + 0x50]
xchg edi, eax
mov byte [edx], al
xchg edi, eax
mov edx, 1
jmp 0x41ae8e
xor edx, edx
jmp 0x41ae8e
call fcn.00424740
ud2
call fcn.0043f410
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
jmp 0x41a7c0
mov eax, dword [edx + 0x30]
mov dword [esp + 0x3c], eax
call fcn.004264d0
lea eax, [0x709d85]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00426d40
movzx eax, byte [esp + 0x19]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x70644d]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00426d40
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x70871e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00426d40
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00426b80
lea eax, [0x704028]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00426d40
call fcn.00426540
lea eax, [0x70dc37]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00425c90
ud2
lea eax, [0x70e3df]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00425c90
ud2
call fcn.004486b0
jmp fcn.0041a730