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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a0c30
sub esp, 0x44
movzx ecx, byte [esp + 0x54]
test cl, cl
je 0x4a07e4
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jb 0x4a07a7
mov eax, dword [esp + 0x48]
jmp 0x4a07de
lea eax, [0x5abb80]
mov dword [esp], eax
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 0x4c]
mov byte [eax + ecx], 0x2d
jmp 0x4a07f0
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4a0801
mov ecx, dword [esp + 0x58]
movzx ecx, byte [ecx]
jmp 0x4a0806
mov ecx, 0x30
lea ebp, [edx + 1]
cmp ebx, ebp
jae 0x4a084b
mov dword [esp + 0x38], edx
mov byte [esp + 0x22], cl
lea ecx, [0x5abb80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
movzx ecx, byte [esp + 0x22]
mov edx, dword [esp + 0x38]
mov byte [eax + edx], cl
mov ecx, dword [esp + 0x70]
test ecx, ecx
jle 0x4a097f
lea edx, [ebp + 1]
cmp ebx, edx
jae 0x4a089a
mov dword [esp + 0x34], ebp
lea ecx, [0x5abb80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov byte [eax + ebp], 0x2e
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
lea ebp, [ecx + 1]
mov dword [esp + 4], ebp
call fcn.004a1a40
mov eax, dword [esp + 8]
cmp eax, 1
jg 0x4a08dc
mov eax, 1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
jmp 0x4a0976
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x38]
lea edx, [eax + ecx - 1]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x60]
dec ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
cmp ebp, edx
jb 0x4a090b
mov esi, dword [esp + 0x40]
jmp 0x4a0949
mov dword [esp + 0x3c], ebx
lea eax, [0x5abb80]
mov dword [esp], eax
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov esi, eax
mov ebp, ebx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], esi
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea ecx, [eax - 1]
mov dword [esp + 8], ecx
call fcn.00465630
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x70]
jmp 0x4a0bd7
lea ecx, [ebp + 1]
cmp ebx, ecx
jae 0x4a09b9
mov dword [esp + 0x38], ebp
lea edx, [0x5abb80]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc ecx
mov ebp, dword [esp + 0x38]
movzx edx, byte [esp + 0x74]
mov byte [eax + ebp], dl
mov edx, dword [esp + 0x68]
dec edx
mov ebp, dword [esp + 0x64]
test ebp, ebp
jne 0x4a09d0
xor edx, edx
test edx, edx
jge 0x4a09dd
neg edx
mov ebp, 0x2d
jmp 0x4a09e2
mov ebp, 0x2b
mov dword [esp + 0x28], edx
lea esi, [ecx + 1]
cmp ebx, esi
jae 0x4a0a31
mov dword [esp + 0x38], ecx
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
lea edx, [0x5abb80]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
movzx ebp, byte [esp + 0x22]
mov dword [esp + 0x38], esi
xchg ebp, ebx
mov byte [eax + ecx], bl
xchg ebp, ebx
cmp edx, 0xa
jge 0x4a0a8d
lea ecx, [esi + 2]
cmp ebx, ecx
jae 0x4a0a7d
lea edx, [0x5abb80]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add ecx, 2
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov byte [eax + esi], 0x30
add edx, 0x30
mov byte [eax + esi + 1], dl
jmp 0x4a0bbd
cmp edx, 0x64
jge 0x4a0b0e
lea ecx, [esi + 2]
mov ebp, eax
mov eax, edx
mov edi, 0xcccccccd
imul edi
mov edi, dword [esp + 0x28]
add edx, edi
sar edx, 3
mov eax, esi
lea esi, [edx + edx*4]
shl esi, 1
sub edi, esi
cmp ebx, ecx
jae 0x4a0af9
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edi
lea edx, [0x5abb80]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add ecx, 2
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x38]
add edx, 0x30
mov byte [ebp + eax], dl
lea edx, [edi + 0x30]
mov byte [ebp + eax + 1], dl
mov eax, ebp
jmp 0x4a0bbd
lea ecx, [esi + 3]
mov ebp, eax
mov eax, edx
mov edi, 0xcccccccd
imul edi
mov eax, dword [esp + 0x28]
add edx, eax
sar edx, 3
mov dword [esp + 0x34], edx
movzx edi, dl
imul edi, edi, 0x19a
shr edi, 0xc
lea edi, [edi + edi*4]
shl edi, 1
sub edx, edi
mov byte [esp + 0x23], dl
mov edi, dword [esp + 0x34]
lea edi, [edi + edi*4]
shl edi, 1
sub eax, edi
mov dword [esp + 0x34], eax
cmp ebx, ecx
jae 0x4a0b8f
lea eax, [0x5abb80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0044bd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add ecx, 3
movzx edx, byte [esp + 0x23]
mov esi, dword [esp + 0x38]
mov ebp, eax
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov edi, 0x51eb851f
imul edi
sar edx, 5
add edx, 0x30
mov byte [ebp + esi], dl
movzx edx, byte [esp + 0x23]
add edx, 0x30
mov byte [ebp + esi + 1], dl
mov edx, dword [esp + 0x34]
add edx, 0x30
mov byte [ebp + esi + 2], dl
mov eax, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebx
add esp, 0x44
ret
mov byte [ebx + edx], 0x30
inc eax
mov edx, esi
cmp ebp, eax
jl 0x4a0c25
lea esi, [edx + 1]
cmp ecx, esi
jae 0x4a0bd0
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
lea eax, [0x5abb80]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.0044bd80
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x70]
jmp 0x4a0bd0
mov ebp, edx
mov eax, ebx
mov ebx, ecx
jmp 0x4a097f
call fcn.00463a70
jmp fcn.004a0770