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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e7782
sub esp, 0x5c
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
cmp byte [esp + 0x70], 0
je 0x4e7778
cmp esi, 0
jg 0x4e7778
jl 0x4e70f0
cmp ecx, 0
jae 0x4e7778
mov byte [esp + 0x23], 1
cmp byte [esp + 0x23], 0
je 0x4e710f
neg ecx
mov dword [esp + 0x64], ecx
adc esi, 0
xchg esi, ebx
neg ebx
xchg esi, ebx
mov dword [esp + 0x68], esi
mov ebx, dword [esp + 0x60]
cmp ebx, 0
je 0x4e7771
add ebx, 0x18
cmp ebx, 0
je 0x4e776a
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 4]
cmp bl, 0
jne 0x4e7701
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 5]
cmp bl, 0
jne 0x4e7701
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 5]
cmp bl, 0
je 0x4e76a1
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0x24], ebp
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jne 0x4e71d5
cmp esi, 0
jne 0x4e71d5
cmp ecx, 0
jne 0x4e71d5
mov ebx, dword [esp + 0x60]
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
xor eax, eax
mov ebx, dword [esp + 0x60]
mov byte [ebx + 0xa], al
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 4], ebp
call fcn.004e6340
movzx ebx, byte [esp + 0x21]
mov eax, ebx
mov ebx, dword [esp + 0x60]
mov byte [ebx + 0xa], al
add esp, 0x5c
ret
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x6c]
cmp eax, 8
jg 0x4e7545
cmp eax, 2
jne 0x4e7498
cmp esi, 0
jb 0x4e7241
jbe 0x4e748a
mov ebx, dword [esp + 0x28]
dec ebx
mov dword [esp + 0x28], ebx
mov ebp, ecx
and ebp, 1
xor ebx, ebx
mov eax, 0x30
xor edx, edx
add eax, ebp
adc edx, ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
jae 0x4e7483
mov ebp, dword [esp + 0x44]
add ebp, ebx
mov byte [ebp], al
mov edx, esi
shrd ecx, esi, 1
shr edx, 1
mov esi, edx
cmp esi, 0
jae 0x4e71f8
mov edx, dword [esp + 0x28]
dec edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], esi
cmp esi, 0
je 0x4e725a
call fcn.004278c0
ud2
mov ebp, dword [esp + 0x78]
cmp ecx, ebp
jae 0x4e7253
mov ebp, dword [esp + 0x74]
add ebp, ecx
movzx ebx, byte [ebp]
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jae 0x4e747c
mov ebp, dword [esp + 0x44]
add ebp, edx
mov byte [ebp], bl
cmp edx, 0
jle 0x4e72b4
mov eax, dword [esp + 0x48]
sub eax, edx
mov ebx, dword [esp + 0x24]
cmp eax, ebx
jge 0x4e72b4
dec edx
mov ecx, 0x30
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jae 0x4e7475
mov ebp, dword [esp + 0x44]
add ebp, edx
mov byte [ebp], cl
cmp edx, 0
jg 0x4e7286
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 8]
cmp bl, 0
je 0x4e7304
mov eax, dword [esp + 0x6c]
cmp eax, 8
jne 0x4e7412
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jae 0x4e740b
mov ebp, dword [esp + 0x44]
add ebp, edx
movzx ebx, byte [ebp]
cmp bl, 0x30
je 0x4e7304
dec edx
mov ecx, 0x30
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jae 0x4e7404
mov ebp, dword [esp + 0x44]
add ebp, edx
mov byte [ebp], cl
cmp byte [esp + 0x23], 0
je 0x4e73a0
dec edx
mov ecx, 0x2d
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jae 0x4e7399
mov ebp, dword [esp + 0x44]
add ebp, edx
mov byte [ebp], cl
mov ebx, dword [esp + 0x60]
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
xor eax, eax
mov ebx, dword [esp + 0x60]
mov byte [ebx + 0xa], al
mov eax, edx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp eax, ecx
ja 0x4e7392
mov ebp, ecx
sub ebp, eax
sub edx, eax
mov ecx, dword [esp + 0x44]
cmp edx, 0
je 0x4e735c
add ecx, eax
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0xc], edx
call fcn.004e6530
movzx ebx, byte [esp + 0x22]
mov eax, ebx
mov ebx, dword [esp + 0x60]
mov byte [ebx + 0xa], al
add esp, 0x5c
ret
call fcn.00427930
ud2
call fcn.004278c0
ud2
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 7]
cmp bl, 0
je 0x4e73d0
dec edx
mov ecx, 0x2b
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jae 0x4e73c9
mov ebp, dword [esp + 0x44]
add ebp, edx
mov byte [ebp], cl
jmp 0x4e7326
call fcn.004278c0
ud2
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 9]
cmp bl, 0
je 0x4e7326
dec edx
mov ecx, 0x20
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jae 0x4e73fd
mov ebp, dword [esp + 0x44]
add ebp, edx
mov byte [ebp], cl
jmp 0x4e7326
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
cmp eax, 0x10
jne 0x4e7304
mov eax, edx
dec eax
cmp dword [esp + 0x78], 0x10
jbe 0x4e746e
mov ebx, dword [esp + 0x74]
add ebx, 0x10
movzx ebp, byte [ebx]
mov edx, ebp
mov ebp, dword [esp + 0x48]
cmp eax, ebp
jae 0x4e7467
mov ebp, dword [esp + 0x44]
add ebp, eax
mov byte [ebp], dl
mov edx, eax
dec edx
mov ecx, 0x30
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jae 0x4e7460
mov ebp, dword [esp + 0x44]
add ebp, edx
mov byte [ebp], cl
jmp 0x4e7304
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
call fcn.004278c0
ud2
cmp ecx, 2
jb 0x4e7241
jmp 0x4e71fe
cmp eax, 8
jne 0x4e7500
cmp esi, 0
jb 0x4e7241
jbe 0x4e74ee
mov ebx, dword [esp + 0x28]
dec ebx
mov dword [esp + 0x28], ebx
mov ebp, ecx
and ebp, 7
xor ebx, ebx
mov eax, 0x30
xor edx, edx
add eax, ebp
adc edx, ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
jae 0x4e74f9
mov ebp, dword [esp + 0x44]
add ebp, ebx
mov byte [ebp], al
mov edx, esi
shrd ecx, esi, 3
shr edx, 3
mov esi, edx
cmp esi, 0
jb 0x4e7241
ja 0x4e74a8
cmp ecx, 8
jb 0x4e7241
jmp 0x4e74a8
call fcn.004278c0
ud2
mov ebx, 0x5f6555
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x1f
mov dword [esp], 0x5bcfc0
lea ebx, [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040ab30
lea ebx, [esp + 0xc]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.00428ea0
ud2
cmp eax, 0xa
jne 0x4e7620
cmp esi, 0
jb 0x4e7241
jbe 0x4e75f9
mov ebx, dword [esp + 0x28]
dec ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], ecx
mov dword [esp], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 4], esi
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
call fcn.0044a370
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, 0x30
xor edx, edx
add eax, dword [esp + 0x64]
adc edx, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov eax, ecx
mov esi, dword [esp + 0x30]
mov edi, 0xa
xor ebp, ebp
mov edx, esi
or esi, ebp
jne 0x4e760e
mul edi
mov ebp, eax
mov ebx, edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sub eax, ebp
sbb edx, ebx
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
cmp ebp, esi
jae 0x4e7607
mov esi, dword [esp + 0x44]
add esi, ebp
mov byte [esi], al
mov esi, dword [esp + 0x30]
cmp esi, 0
jb 0x4e7241
ja 0x4e755d
cmp ecx, 0xa
jb 0x4e7241
jmp 0x4e755d
call fcn.004278c0
ud2
imul edx, edi
mov esi, ecx
imul esi, ebp
add esi, edx
mov edx, edi
mul edx
add edx, esi
jmp 0x4e75c2
cmp eax, 0x10
jne 0x4e7500
cmp esi, 0
jb 0x4e7241
jbe 0x4e768f
mov ebx, dword [esp + 0x28]
dec ebx
mov dword [esp + 0x28], ebx
mov eax, ecx
and eax, 0xf
xor edx, edx
cmp edx, 0
je 0x4e7650
call fcn.004278c0
ud2
mov ebp, dword [esp + 0x78]
cmp eax, ebp
jae 0x4e7649
mov ebp, dword [esp + 0x74]
add ebp, eax
movzx ebx, byte [ebp]
mov edx, ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
jae 0x4e769a
mov ebp, dword [esp + 0x44]
add ebp, ebx
mov byte [ebp], dl
mov edx, esi
shrd ecx, esi, 4
shr edx, 4
mov esi, edx
cmp esi, 0
jb 0x4e7241
ja 0x4e7634
cmp ecx, 0x10
jb 0x4e7241
jmp 0x4e7634
call fcn.004278c0
ud2
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 0xa]
cmp bl, 0
je 0x4e71d5
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 4]
cmp bl, 0
je 0x4e71d5
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x24], ebp
cmp byte [esp + 0x23], 0
jne 0x4e76f3
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 7]
cmp bl, 0
jne 0x4e76f3
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx + 9]
cmp bl, 0
je 0x4e71d5
mov ebx, dword [esp + 0x24]
dec ebx
mov dword [esp + 0x24], ebx
jmp 0x4e71d5
mov ebx, dword [esp + 0x60]
mov edi, dword [ebx + 0x10]
add edi, 3
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x14]
mov edx, edi
add edi, ebx
mov eax, dword [esp + 0x48]
cmp edi, eax
jle 0x4e7765
mov dword [esp], 0x5bd1c0
mov eax, edi
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, edi
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043b310
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
jmp 0x4e715e
jmp 0x4e715e
mov dword [ebx], eax
jmp 0x4e7128
mov dword [ebx], eax
jmp 0x4e711c
mov byte [esp + 0x23], 0
jmp 0x4e70f5
call fcn.0044fe90
jmp fcn.004e70b0