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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [ecx + 0xf8]
mov esi, ecx
cmp byte [eax - 0x28], 0
je 0x4a63b0
cmp byte [eax - 0x27], 0
je 0x4a63b0
movsd xmm0, qword [eax - 8]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [eax - 0x18]
movsd xmm1, qword [eax - 0x10]
mov eax, 0x4cd5ef
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
mov dword [esi], 3
mov dword [esi + 0x30], str.while_scanning_a_simple_key
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x40], xmm1
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + 0x48], xmm0
mov dword [esi + 4], str.could_not_find_expected_:
movsd xmm0, qword [esi + 0xa0]
movsd xmm1, qword [esi + 0xa8]
movsd qword [esi + 0x18], xmm0
movsd qword [esi + 0x20], xmm1
movsd xmm0, qword [esi + 0xb0]
movsd qword [esi + 0x28], xmm0
jmp 0x4a63b9
mov byte [eax - 0x28], 0
mov eax, 0x4cc7d4
cmp byte [eax], 0
jne 0x4a6647
mov dword [esp + 4], edx
xor edi, edi
mov ecx, 0x10
xor edx, edx
mov byte [esi + 0xec], 1
mov dword [esp + 0x24], edi
call fcn.0049cc8e
lea ecx, [eax + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
xor edx, edx
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [esp + 0xc], ecx
mov ecx, 0x10
call fcn.0049cc8e
lea ecx, [eax + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
xor edx, edx
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [esp + 0x1c], ecx
mov ecx, 0x10
call fcn.0049cc8e
lea ecx, [eax + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [esp + 0x2c], ecx
mov ecx, esi
movsd xmm0, qword [esi + 0xb0]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [esi + 0xa0]
movsd xmm1, qword [esi + 0xa8]
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
call fcn.004a3f4d
xor edx, edx
mov ecx, esi
inc edx
push edi
call fcn.004a37f5
add esp, 4
test al, al
je 0x4a65f2
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0xa0]
mov dword [esp], ecx
movzx eax, byte [eax]
cmp eax, 0x2b
je 0x4a64a5
cmp eax, 0x2d
jne 0x4a64f7
xor ebx, ebx
cmp al, 0x2b
mov ecx, esi
sete byte [esp + 0x14]
call fcn.004a3f4d
xor edx, edx
mov ecx, esi
inc edx
push 0
call fcn.004a37f5
add esp, 4
test al, al
je 0x4a65f2
mov al, byte [esp + 0x14]
mov bl, al
lea eax, [ebx + ebx - 1]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x70]
mov al, byte [eax]
mov ebx, eax
add bl, 0xd0
cmp bl, 9
ja 0x4a6568
mov ecx, str.found_an_indentation_indicator_equal_to_0
cmp al, 0x30
je 0x4a6512
jmp 0x4a65a5
mov ebx, eax
mov dword [esp + 0x14], 0
add bl, 0xd0
cmp bl, 0xa
jae 0x4a6568
mov ecx, str.found_an_indentation_indicator_equal_to_0
cmp al, 0x30
jne 0x4a656c
mov dword [esi], 3
mov dword [esi + 0x30], str.while_scanning_a_block_scalar
mov eax, dword [esp]
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x40], xmm1
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + 0x48], xmm0
mov dword [esi + 4], ecx
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x18], xmm0
movsd qword [esi + 0x20], xmm1
movsd xmm0, qword [eax + 0x10]
movsd qword [esi + 0x28], xmm0
jmp 0x4a65f2
xor ebx, ebx
jmp 0x4a65ac
mov ecx, esi
call fcn.004a3f4d
xor edx, edx
mov ecx, esi
inc edx
push 0
call fcn.004a37f5
add esp, 4
test al, al
je 0x4a65f2
mov eax, dword [esi + 0x70]
movzx eax, byte [eax]
cmp eax, 0x2d
je 0x4a6596
cmp eax, 0x2b
jne 0x4a65ac
xor ecx, ecx
cmp al, 0x2b
sete cl
lea eax, [ecx + ecx - 1]
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.004a3f4d
xor edx, edx
mov ecx, esi
inc edx
push 0
call fcn.004a37f5
add esp, 4
test al, al
je 0x4a65f2
xor edi, edi
movzx ebx, bl
inc edi
mov eax, dword [esi + 0x70]
movzx ecx, byte [eax]
cmp ecx, 9
je 0x4a65d9
cmp ecx, 0x20
jne 0x4a670f
mov ecx, esi
call fcn.004a3f4d
mov ecx, esi
mov edx, edi
push 0
call fcn.004a37f5
add esp, 4
test al, al
jne 0x4a65c5
mov eax, dword [esp + 8]
test eax, eax
je 0x4a660b
add eax, 0xfffffff8
push eax
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a6624
add eax, 0xfffffff8
push eax
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a663d
add eax, 0xfffffff8
push eax
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov eax, 0x4cd5ef
cmp byte [eax], 0
je 0x4a6651
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0xcc]
lea edi, [esi + 0xcc]
cmp eax, dword [esi + 0xc4]
jne 0x4a6693
mov dword [esp + 0x14], ebx
mov ebx, edx
lea eax, [esi + 0xc4]
lea edx, [esi + 0xc8]
lea ecx, [esi + 0xc0]
push eax
push edi
call fcn.0049d0d6
mov edx, ebx
mov ebx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esi + 0xcc]
xor ecx, ecx
mov dword [eax], 0x15
mov esi, dword [esp + 4]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov ebx, dword [esp]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ecx
movsd xmm0, qword [esp + 0x98]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
movsd qword [eax + 0x28], xmm1
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movsd qword [eax + 0x38], xmm0
movsd qword [eax + 0x40], xmm1
movsd xmm0, qword [esp + 0x80]
movsd qword [eax + 0x48], xmm0
add dword [edi], 0x50
mov al, 1
jmp 0x4a6649
cmp ecx, 0x23
jne 0x4a6776
xor edi, edi
inc edi
mov eax, dword [esi + 0x70]
movzx ecx, byte [eax]
cmp ecx, 0xc2
je 0x4a673e
cmp ecx, 0xe2
je 0x4a6749
cmp ecx, 0xd
ja 0x4a6758
mov edx, 0x2401
bt edx, ecx
jae 0x4a6758
jmp 0x4a6776
cmp byte [eax + 1], 0x85
jne 0x4a6758
jmp 0x4a67cd
cmp byte [eax + 1], 0x80
jne 0x4a6758
mov al, byte [eax + 2]
and al, 0xfe
cmp al, 0xa8
je 0x4a67cd
mov ecx, esi
call fcn.004a3f4d
mov ecx, esi
mov edx, edi
push 0
call fcn.004a37f5
add esp, 4
test al, al
jne 0x4a6717
jmp 0x4a65f2
movzx edx, cl
mov ecx, str.did_not_find_expected_comment_or_line_break
cmp edx, 0xc
jle 0x4a67a8
cmp edx, 0xd
je 0x4a67cd
cmp edx, 0xe2
je 0x4a67b6
cmp edx, 0xc2
jne 0x4a6512
cmp byte [eax + 1], 0x85
jne 0x4a6512
jmp 0x4a67cd
test edx, edx
je 0x4a67ed
cmp edx, 0xa
je 0x4a67cd
jmp 0x4a6512
cmp byte [eax + 1], 0x80
jne 0x4a6512
mov al, byte [eax + 2]
and al, 0xfe
cmp al, 0xa8
jne 0x4a6512
mov ecx, esi
mov edx, 2
push 0
call fcn.004a37f5
add esp, 4
test al, al
je 0x4a65f2
mov ecx, esi
call fcn.004a3fe5
mov eax, dword [esp]
test ebx, ebx
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm0
je 0x4a6827
mov eax, dword [esi + 0xe8]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
add ecx, ebx
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x58]
lea ebx, [esp + 0x38]
lea eax, [esp + 0x28]
lea edx, [esp + 0x24]
mov ecx, esi
push edi
push ebx
push eax
call fcn.004a7df0
add esp, 0xc
test al, al
je 0x4a65f2
xor edx, edx
mov ecx, esi
inc edx
push 0
call fcn.004a37f5
lea edx, [esp + 0x14]
add esp, 4
test al, al
je 0x4a65f2
mov dword [esp], 0
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
lea edi, [esp + 0xc]
cmp eax, dword [esi + 0xb0]
jne 0x4a6aac
mov eax, dword [esi + 0x70]
movzx ecx, byte [eax]
xor eax, eax
cmp ecx, 9
je 0x4a68a2
cmp ecx, 0x20
je 0x4a68a2
test ecx, ecx
je 0x4a6aac
mov al, 1
mov edi, dword [esp + 0x18]
cmp byte [esp + 4], 0
jne 0x4a6970
cmp byte [edi], 0xa
sete cl
cmp dword [esp], 0
sete dl
and dl, cl
test al, dl
lea edx, [esp + 0x10]
je 0x4a6970
mov ebx, dword [esp + 0x28]
cmp byte [ebx], 0
jne 0x4a6949
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [ecx + 5]
cmp eax, edx
jb 0x4a693f
mov eax, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov dword [esp], eax
sub edx, eax
mov ecx, dword [esp]
mov eax, edx
mov dword [esp + 0x34], edx
sar eax, 0x1f
shld eax, edx, 1
add edx, edx
push eax
call fcn.0049d07c
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
lea edx, [eax + ecx]
push ecx
push 0
push edx
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x60]
add esp, 0xc
sub ecx, dword [esp]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x34]
add ecx, edx
lea eax, [edx + eax*2]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov byte [ecx], 0x20
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x1c]
sub eax, edi
push eax
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0xc]
lea edx, [esp + 0x10]
lea edi, [esp + 8]
mov dword [esp], ebx
jmp 0x4a69b4
mov ebx, edi
lea edi, [esp + 8]
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004a7d28
add esp, 0xc
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x1c]
sub eax, ebx
push eax
push 0
push ebx
call sub.msvcrt.dll_memset
lea edx, [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xc]
mov dword [esp], ecx
lea ebx, [esp + 0x30]
mov ecx, edi
push ebx
lea ebx, [esp + 0x2c]
push ebx
push eax
call fcn.004a7d28
add esp, 0xc
mov ecx, dword [esp]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x2c]
sub eax, ecx
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi + 0x70]
lea edi, [esp + 0x58]
mov al, byte [eax]
cmp al, 0x20
sete cl
cmp al, 9
sete al
or al, cl
movzx eax, al
mov dword [esp], eax
mov eax, dword [esi + 0x70]
movzx ecx, byte [eax]
cmp ecx, 0xc2
je 0x4a6a28
cmp ecx, 0xe2
lea edx, [esp + 8]
je 0x4a6a34
cmp ecx, 0xd
ja 0x4a6a43
mov eax, 0x2401
bt eax, ecx
jae 0x4a6a43
jmp 0x4a6a62
cmp byte [eax + 1], 0x85
lea edx, [esp + 8]
jne 0x4a6a43
jmp 0x4a6a62
cmp byte [eax + 1], 0x80
jne 0x4a6a43
mov al, byte [eax + 2]
and al, 0xfe
cmp al, 0xa8
je 0x4a6a62
mov ecx, esi
call fcn.004a7a8b
xor edx, edx
mov ecx, esi
inc edx
push 0
call fcn.004a37f5
add esp, 4
test al, al
jne 0x4a69fd
jmp 0x4a65f2
mov ecx, esi
mov edx, 2
push 0
call fcn.004a37f5
add esp, 4
test al, al
je 0x4a65f2
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.004a7b83
lea edx, [esp + 0x24]
mov ecx, esi
push edi
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.004a7df0
lea edx, [esp + 0x1c]
add esp, 0xc
test al, al
jne 0x4a686e
jmp 0x4a65f2
cmp ebx, 0xffffffff
je 0x4a6af0
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004a7d28
add esp, 0xc
mov eax, edi
mov edi, dword [esp + 0x18]
cmp ebx, 1
jne 0x4a6af4
lea ebx, [esp + 0x30]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ebx
lea ebx, [esp + 0x2c]
push ebx
push eax
call fcn.004a7d28
add esp, 0xc
jmp 0x4a6af4
mov edi, dword [esp + 0x18]
movsd xmm1, qword [esp + 0x40]
movsd xmm0, qword [esp + 0x48]
movsd xmm3, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x58]
mov eax, dword [esp + 4]
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x10]
test edi, edi
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x60]
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0x88], xmm3
movsd qword [esp + 0x70], xmm2
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [esp + 0x80], xmm1
je 0x4a6b75
add edi, 0xfffffff8
push edi
push 0
push dword [0x4e4100]
mov dword [esp + 0x10], edx
mov edi, eax
call sub.kernel32.dll_HeapFree
mov edx, dword [esp + 4]
mov eax, edi
movzx eax, al
sub edx, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a6b9b
add eax, 0xfffffff8
push eax
push 0
push dword [0x4e4100]
mov edi, edx
call sub.kernel32.dll_HeapFree
mov edx, edi
mov eax, edx
xor dword [esp + 4], 5
sar eax, 0x1f
mov dword [esp], eax
mov eax, 0x4cc7d4
jmp 0x4a6642