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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a6cc9
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0xc]
lea ebp, [ebx + ecx]
mov dword [esp + 0x40], ebp
mov esi, dword [eax]
mov edi, dword [eax + 8]
mov edx, dword [edx + 8]
cmp ebp, edi
ja 0x4a6c7f
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], esi
lea eax, [esi + ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0044d890
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [0x8a6100]
test eax, eax
jne 0x4a6c71
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
test ecx, 7
je 0x4a6602
test ecx, 0x20
je 0x4a65e4
lea edi, [esp + 0x48]
lea esi, [esp + 0x7c]
call fcn.0044d66e
nop
nop
nop
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, edx
shr edx, 0x1f
shl edx, 0x1f
test edx, edx
je 0x4a65cf
mov edx, ecx
shr ecx, 0x1f
shl ebx, 1
or ebx, ecx
shl edx, 1
shr edx, 0x1f
mov ecx, ebx
shl ebx, 1
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
nop
mov dword [esp + 0x50], ebx
shr ecx, 0x1f
add edx, 0xd7b17f80
adc ecx, 0xd
mov dword [esp + 0x54], ecx
and dword [esp + 0x48], 0x3fffffff
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
lea edi, [esp + 0x7c]
lea esi, [esp + 0x48]
call fcn.0044d66e
mov ecx, dword [eax + 0x10]
test ecx, 1
jne 0x4a6ab2
mov ecx, dword [eax + 0x10]
test ecx, 6
jne 0x4a6833
mov eax, dword [eax + 0x10]
test eax, 0x18
je 0x4a6727
test eax, 0x10
je 0x4a6820
mov eax, dword [esp + 0x94]
lea ecx, [eax - 1]
mov edx, dword [esp + 0x90]
jmp 0x4a662f
dec ecx
test ecx, ecx
jle 0x4a6817
cmp ecx, eax
jae 0x4a6cc2
movzx ebx, byte [edx + ecx]
cmp bl, 0x2f
jne 0x4a662e
inc ecx
sub eax, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, ecx
add eax, edx
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
lea ebp, [ebx + edx]
mov dword [esp + 0x3c], ebp
mov esi, dword [ecx + 8]
mov edi, dword [ecx]
cmp ebp, esi
ja 0x4a67d3
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], esi
lea ecx, [edi + edx]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044d890
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x78]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [edi + 8], ecx
mov edx, dword [0x8a6100]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x40]
lea ebx, [ebp + ebx + 1]
test edx, edx
jne 0x4a67bd
mov edx, dword [esp + 0x44]
mov dword [edi], edx
cmp ebx, ecx
ja 0x4a6770
lea ecx, [eax + 1]
mov dword [edi + 4], ecx
mov byte [edx + eax], 0x3a
mov dword [esp], edi
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call fcn.004a6370
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 4]
lea ecx, [eax + 2]
mov edx, dword [edi]
mov ebx, dword [edi + 8]
cmp ecx, ebx
ja 0x4a6734
mov ebp, 0x203a
mov word [edx + eax], bp
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov ecx, dword [0x8a6100]
test ecx, ecx
jne 0x4a672b
mov dword [edi], edx
add esp, 0x70
ret
mov eax, edx
call fcn.0044d090
jmp 0x4a6727
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea ebp, [0x640f20]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00438ea0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x78]
jmp 0x4a670c
lea ebp, [0x640f20]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4a67b6
mov dword [edi], eax
mov edx, eax
mov eax, ecx
jmp 0x4a66d4
call fcn.0044d090
jmp 0x4a67ad
mov edx, eax
mov eax, dword [esp + 0x44]
call fcn.0044d090
mov eax, edx
mov edx, dword [esp + 0x44]
jmp 0x4a66cc
mov dword [esp + 0x90], eax
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00438ea0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
jmp 0x4a667c
mov ebx, eax
mov eax, edx
jmp 0x4a6656
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
jmp 0x4a6656
mov edi, esp
lea esi, [esp + 0x7c]
call fcn.0044d66e
call fcn.0048bee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.004a6370
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax + 8]
mov ebp, dword [eax]
cmp edx, ebx
ja 0x4a6a65
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebp + ecx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004a6370
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x4a6a18
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebx + ecx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004a6370
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
test ecx, 4
jne 0x4a6963
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 8]
mov esi, dword [ecx]
cmp ebx, ebp
ja 0x4a6913
lea ebx, [edx + 1]
mov dword [ecx + 4], ebx
mov byte [esi + edx], 0x20
jmp 0x4a6602
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4a695c
mov dword [edi], eax
mov edx, ecx
mov esi, eax
mov eax, dword [esp + 0x74]
mov ecx, edi
jmp 0x4a6904
call fcn.0044d090
jmp 0x4a6950
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 8]
mov esi, ecx
mov ecx, dword [ecx]
cmp ebx, ebp
ja 0x4a69c9
lea ebx, [edx + 1]
mov dword [esi + 4], ebx
mov byte [ecx + edx], 0x2e
lea edi, [esp + 0x5c]
mov eax, esi
lea esi, [esp + 0x7c]
call fcn.0044d66e
nop
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], eax
and ecx, 0x3fffffff
mov eax, 0x4189374c
imul ecx
sar ecx, 0x1f
sar edx, 8
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.004a6370
mov eax, dword [esp + 0x74]
jmp 0x4a68f1
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4a6a11
mov dword [edi], eax
mov esi, edi
mov edx, ecx
mov ecx, eax
jmp 0x4a6978
call fcn.0044d090
jmp 0x4a6a06
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4a6a5e
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x4a68c0
call fcn.0044d090
jmp 0x4a6a55
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4a6aab
mov dword [edi], eax
mov ebp, eax
mov eax, edi
jmp 0x4a6886
call fcn.0044d090
jmp 0x4a6aa2
nop
mov edi, esp
lea esi, [esp + 0x7c]
call fcn.0044d66e
mov byte [esp + 0x14], 1
call fcn.0048ce30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004a6370
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x4a6c24
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebx + ecx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004a6370
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax + 8]
mov ebp, dword [eax]
cmp edx, ebx
ja 0x4a6bd7
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebp + ecx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004a6370
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x4a6b8d
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebx + ecx], 0x20
mov eax, dword [esp + 0x74]
jmp 0x4a65f3
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4a6bd0
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x4a6b7a
call fcn.0044d090
jmp 0x4a6bca
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4a6c1d
mov dword [edi], eax
mov ebp, eax
mov eax, edi
jmp 0x4a6b44
call fcn.0044d090
jmp 0x4a6c14
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4a6c6a
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x4a6b0b
call fcn.0044d090
jmp 0x4a6c61
mov eax, dword [esp + 0x44]
call fcn.0044d090
jmp 0x4a654f
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ecx
lea eax, [0x640f20]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.00438ea0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
jmp 0x4a650e
call fcn.00427150
ud2
call fcn.0044b940
jmp fcn.004a64d0