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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43df42
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x44e740]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x44e740]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x228], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x228], 2
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.errorLine
call esi
push str.errorCharacter
mov dword [esp + 0x1a0], eax
call esi
push 0x447600
mov dword [esp + 0x1a4], eax
call esi
push str.errorMessage
mov dword [esp + 0x1a8], eax
call esi
push str.errorUrl
mov dword [esp + 0x1ac], eax
call esi
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
test eax, eax
je 0x4152f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 8]
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x78], 0
push str._D_3
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
js 0x4153eb
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
test eax, eax
je 0x415327
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x78]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1b0]
mov esi, eax
test esi, esi
js 0x4153eb
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
test eax, eax
je 0x415359
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x70]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0xd4]
mov esi, eax
test esi, esi
js 0x4153eb
lea ebx, [esp + 0x1c4]
xor edi, edi
mov edi, edi
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x1b0]
add ecx, edi
push ecx
push 0x800
mov edx, dword [eax]
lea ecx, [esp + 0x1a4]
push 1
add ecx, edi
push ecx
push 0x440378
push eax
call dword [edx + 0x14]
mov esi, eax
test esi, esi
js 0x4153eb
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x12c]
push 0
push 0
push ebx
mov ecx, dword [eax]
push edx
push 2
push 0x800
push 0x440378
push dword [esp + edi + 0x1cc]
push eax
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x4153eb
add edi, 4
add ebx, 0x10
cmp edi, 0x14
jl 0x415380
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
push dword [esp + edi*4 + 0x19c]
call ebx
inc edi
cmp edi, 5
jl 0x4153f3
test esi, esi
js 0x415967
push 0xb0
lea eax, [esp + 0x80]
push 0
push eax
call fcn.00429ef0
add esp, 0xc
mov dword [esp + 0x7c], 0x447a28
mov dword [esp + 0x8c], 0x447a9c
mov byte [esp + 0x228], 3
push 4
mov dword [esp + 0x58], 1
mov dword [esp + 0xe8], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0xe4], 0x50
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0x201
mov dword [esp + 0x100], 6
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xf4], 0
call fcn.004255c6
mov esi, eax
add esp, 4
test esi, esi
je 0x41550d
push 1
mov dword [esi], 0
call fcn.00420fc2
add esp, 4
mov dword [esi], eax
jmp 0x41550f
xor esi, esi
lea eax, [esp + 0x94]
mov dword [esp + 0x114], esi
mov dword [esp + 0x11c], eax
lea ecx, [esp + 0xe4]
lea eax, [esp + 0x1c]
mov dword [esp + 0x120], 0
push eax
call fcn.00402d70
push eax
mov dword [esp + 0x22c], 0xa
call fcn.00409250
mov byte [esp + 0x22c], 5
add esp, 4
mov ecx, dword [esp + 0x1c]
mov esi, eax
test ecx, ecx
je 0x415577
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x415577
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi]
mov ecx, esi
push 0x20
call dword [eax + 0x30]
cmp dword [esp + 0x11c], 0
mov word [esp + 0x124], ax
jne 0x4155bd
mov eax, dword [esp + 0xf0]
or eax, 4
and eax, 0x17
mov dword [esp + 0xf0], eax
test dword [esp + 0xf4], eax
je 0x4155bd
push 0
lea ecx, [esp + 0xe8]
call fcn.00402ce0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x8c], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x88], eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x7c], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [esp + ecx + 0x78], eax
mov dword [esp + 0x228], 0xd
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x7c], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0x78], eax
lea ecx, [esp + 0x94]
call fcn.00407370
mov dword [esp + 0x94], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov byte [esp + 0x228], 0xf
lea ecx, [esp + 0x58]
mov edx, dword [esp + 0x20c]
call fcn.00412660
mov edi, eax
mov byte [esp + 0x228], 0x10
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x1fc]
call fcn.00412660
mov esi, eax
mov byte [esp + 0x228], 0x11
mov edx, str.Script_Error:_line
push dword [esp + 0x1ec]
push ecx
push dword [esp + 0x1e4]
push ecx
push dword [esp + 0x1dc]
push ecx
lea ecx, [esp + 0xa4]
call fcn.0041dd20
add esp, 4
mov ecx, eax
call fcn.00419d10
mov edx, str._char
mov ecx, eax
call fcn.0041dd20
add esp, 4
mov ecx, eax
call fcn.00419d10
mov edx, str._code
mov ecx, eax
call fcn.0041dd20
add esp, 4
mov ecx, eax
call fcn.00419d10
mov edx, str._message
mov ecx, eax
call fcn.0041dd20
mov edx, esi
mov ecx, eax
call fcn.00409380
mov edx, str._url
mov ecx, eax
call fcn.0041dd20
mov edx, edi
mov ecx, eax
call fcn.00409380
cmp dword [esp + 0x34], 8
jb 0x415730
push dword [esp + 0x20]
call fcn.00425576
add esp, 4
xor eax, eax
mov byte [esp + 0x228], 0xf
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jb 0x415762
push dword [esp + 0x58]
call fcn.00425576
add esp, 4
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x40], 0
je 0x415938
push 0x60
lea eax, [esp + 0x140]
push 0
push eax
call fcn.00429ef0
add esp, 0xc
mov dword [esp + 0x34], 7
xor eax, eax
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x20]
mov word [esp + 0x20], ax
push eax
push 0x447038
call fcn.004074e0
sub esp, 0x18
mov byte [esp + 0x240], 0x12
mov ecx, esp
mov dword [esp + 0x34], esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x447038
mov word [ecx], ax
call fcn.004074e0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x70]
mov byte [esp + 0x240], 0x14
push eax
lea ecx, [esp + 0x98]
call fcn.00419c90
mov byte [esp + 0x240], 0x15
push dword [esi + 0x44]
lea ecx, [esp + 0x54]
mov byte [esp + 0x244], 0x17
push ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x48]
push eax
push 3
lea ecx, [esp + 0x16c]
call fcn.00418930
cmp dword [esp + 0x6c], 8
jb 0x41584b
push dword [esp + 0x58]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4158ab
mov edi, dword [esp + 0x3c]
mov esi, ebx
cmp ebx, edi
je 0x41589e
cmp dword [esi + 0x14], 8
jb 0x415884
push dword [esi]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x415874
push ebx
call fcn.00425576
mov esi, dword [esp + 0x1c]
add esp, 4
mov byte [esp + 0x228], 0x1b
cmp dword [esp + 0x34], 8
jb 0x4158c6
push dword [esp + 0x20]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
lea ecx, [esp + 0x13c]
lea eax, [esp + 0x38]
mov dword [esp + 0x30], 0
push eax
call fcn.00418a20
push eax
mov byte [esp + 0x22c], 0x1c
mov ecx, dword [esi + 0xd8]
push 0xb
call fcn.00417f60
cmp dword [esp + 0x4c], 0x10
jb 0x415917
push dword [esp + 0x38]
call fcn.00425576
add esp, 4
lea ecx, [esp + 0x13c]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.00411a10
lea ecx, [esp + 0xe4]
mov byte [esp + 0x228], 2
call fcn.00419c10
lea eax, [esp + 0xe4]
mov dword [esp + 0xe4], vtable.std::ios_base.0
push eax
call fcn.004211bb
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, 0xb
mov byte [esp + 0x228], 1
mov word [eax], cx
or ecx, 0xffffffff
mov word [eax + 8], cx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x415990
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x228], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4159a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4159bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00424db6
mov esp, ebp
pop ebp
ret 8