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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], ecx
push ebx
push esi
mov ecx, dword [eax]
mov esi, edx
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, esi
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0xffffffff
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 1
call fcn.00432b50
test al, al
jne 0x431a9b
test edi, edi
je 0x431a9b
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
push str.syntax_error_at_line__d_near:
push 0x40
push eax
call fcn.004331a0
lea ecx, [esp + 0x50]
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431a00
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
mov ecx, edi
call fcn.00412890
cmp byte [esp + 0x28], 0
je 0x431a2b
mov ebx, dword [esp + 0x24]
mov byte [esp + 0x28], 0
jmp 0x431b32
cmp byte [esp + 0x18], 0
jne 0x431a58
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x431a4b
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void_]
cmp eax, 0xffffffff
je 0x431a4b
mov byte [esp + 0x19], al
jmp 0x431a53
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
cmp byte [esp + 0x20], 0
jne 0x431a85
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x431a78
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void_]
cmp eax, 0xffffffff
je 0x431a78
mov byte [esp + 0x21], al
jmp 0x431a80
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 1
cmp dword [esp + 0x14], 0
jne 0x431ac1
cmp dword [esp + 0x1c], 0
jne 0x431ac8
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
pop esi
pop ebx
xor ecx, esp
mov dword [eax + 4], edx
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jne 0x431a93
cmp dword [esp + 0x24], 0xa
jne 0x431ad3
inc dword [esp + 0x2c]
cmp byte [esp + 0x18], 0
jne 0x431b00
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x431af3
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void_]
cmp eax, 0xffffffff
je 0x431af3
mov byte [esp + 0x19], al
jmp 0x431afb
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov ecx, dword [esp + 0x14]
mov bl, byte [esp + 0x19]
test ecx, ecx
je 0x431b1e
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void_]
cmp eax, 0xffffffff
je 0x431b1e
mov byte [esp + 0x18], 0
jmp 0x431b2b
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
movzx ebx, bl
mov dword [esp + 0x24], ebx
cmp ebx, 0xffffffff
je 0x431a9b
cmp ebx, 0xa
je 0x431a9b
cmp ebx, 0x20
jl 0x431a16
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], edx
cmp esi, edx
jae 0x431b7b
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x431b6e
mov eax, dword [edi]
mov byte [eax + esi], bl
mov byte [eax + esi + 1], 0
jmp 0x431a16
mov eax, SysReAllocString
sub eax, esi
cmp eax, 1
jb 0x431c69
lea ecx, [esi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x431ba0
mov ecx, SysReAllocString
jmp 0x431bc7
mov eax, edx
shr eax, 1
mov dword [esp + 0x10], eax
mov eax, SysReAllocString
sub eax, dword [esp + 0x10]
cmp edx, eax
jbe 0x431bbc
mov ecx, SysReAllocString
jmp 0x431bc7
mov eax, dword [esp + 0x10]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x10], ecx
push eax
call fcn.00408710
cmp dword [esp + 0x30], 0x10
mov ecx, eax
lea eax, [esi + 1]
mov dword [esp + 0x34], ecx
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x14], eax
lea eax, [ecx + esi]
mov dword [esp + 0x10], eax
jb 0x431c43
push dword [esp + 0x38]
mov esi, dword [edi]
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x30]
inc ecx
mov byte [eax], bl
mov byte [eax + 1], 0
cmp ecx, 0x1000
jb 0x431c2e
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x431c63
mov esi, edx
push ecx
push esi
call fcn.0052d747
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [edi], eax
jmp 0x431a16
push esi
push edi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [eax], bl
mov byte [eax + 1], 0
mov eax, dword [esp + 0x34]
mov dword [edi], eax
jmp 0x431a16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00402990
int3