Function at 0x416ad0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43d923
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x44d404]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44d404]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x34], esi
mov ebx, edx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
add esi, 0x10
mov dword [esp + 0x350], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
push ebx
mov byte [esp + 0x354], 1
call fcn.0042239a
add esp, 4
mov ecx, ebx
call fcn.004057ef
mov dword [esp + 0x30], edi
lea eax, [esp + 0xd4]
push eax
mov byte [esp + 0x354], 2
call fcn.00408af0
mov dword [esp + 0x100], edi
mov dword [esp + method.t_fileTextRead.virtual_0], vtable.t_fileTextRead.0
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edi
lea ecx, [esp + 0x30]
push ecx
lea esi, [esp + 0xd8]
mov byte [esp + 0x354], 3
call fcn.00409750
push str.scdlist
mov eax, esi
call fcn.004095c0
xor ebp, ebp
cmp eax, ebp
jne 0x416bf5
mov edx, esi
push edx
mov byte [esp + 0x354], 2
call fcn.00409490
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x41721b
mov ecx, dword [eax + 0x1000]
push eax
mov dword [esp + 0x34], ecx
call fcn.0042181b
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebp
jne 0x416bd5
jmp 0x41721b
lea edx, [esp + 0x4c]
push edx
call fcn.004040d8
mov byte [esp + 0x350], 4
lea eax, [esp + 0xd4]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
mov edi, 8
jmp 0x416c20
push 0x230
lea ecx, [esp + 0x118]
push ebp
push ecx
call fcn.004223b0
add esp, 0xc
push 0x444398
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
call fcn.0042239a
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, edi
mov edx, ecx
jae 0x416c68
lea edx, [esp + 0x18]
cmp edx, 0x444398
ja 0x416cab
cmp eax, edi
mov edx, ecx
jae 0x416c7a
lea edx, [esp + 0x18]
mov ebx, dword [esp + 0x28]
lea edx, [edx + ebx*2]
cmp edx, 0x444398
jbe 0x416cab
cmp eax, edi
mov eax, ecx
jae 0x416c93
lea eax, [esp + 0x18]
mov ebx, 0x444398
sub ebx, eax
push esi
lea eax, [esp + 0x18]
sar ebx, 1
push eax
call fcn.004013bc
xor ebp, ebp
jmp 0x416d1d
cmp esi, 0x7ffffffe
jbe 0x416cc0
call fcn.004209a6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cmp eax, esi
jae 0x416de8
mov ecx, dword [esp + 0x28]
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.00401487
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cmp esi, ebp
jbe 0x416d1d
cmp eax, edi
jae 0x416cec
lea ecx, [esp + 0x18]
lea edi, [esi + esi]
push edi
push 0x444398
add eax, eax
push eax
push ecx
call fcn.00421666
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x28], esi
jae 0x416d14
lea eax, [esp + 0x18]
mov word [eax + edi], bp
mov edi, 8
mov byte [esp + 0x350], 5
test byte [esp + 0x98], 1
je 0x416d3e
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push eax
call fcn.0042181b
add esp, 4
mov edx, dword [esp + 0x68]
mov dword [edx], ebp
mov eax, dword [esp + 0x78]
mov dword [eax], ebp
mov ecx, dword [esp + 0x88]
mov dword [ecx], ebp
mov edx, dword [esp + 0x6c]
mov dword [edx], ebp
mov eax, dword [esp + 0x7c]
mov dword [eax], ebp
mov ecx, dword [esp + 0x8c]
mov dword [ecx], ebp
and dword [esp + 0x98], 0xfffffffe
cmp dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x18]
jae 0x416d7e
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov dword [esp + 0x94], ebp
je 0x416d97
push ecx
lea esi, [esp + 0x5c]
call fcn.00405acf
mov byte [esp + 0x350], 4
cmp dword [esp + 0x2c], edi
jb 0x416db2
mov edx, dword [esp + 0x18]
push edx
call fcn.0042181b
add esp, 4
mov eax, dword [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x5c]
push 0x44439c
push ecx
call fcn.00406c8b
add esp, 0xc
push eax
call fcn.00403b67
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
call fcn.004041ac
cmp dword [eax + 0x18], edi
jb 0x416e06
mov ebx, dword [eax + 4]
jmp 0x416e09
cmp esi, ebp
jne 0x416ce2
cmp eax, edi
mov dword [esp + 0x28], ebp
mov eax, ecx
jae 0x416dfe
lea eax, [esp + 0x18]
mov word [eax], bp
jmp 0x416d1d
lea ebx, [eax + 4]
mov eax, dword [esp + 0xd8]
mov esi, dword [eax + 4]
cmp byte [esi + 0x15], 0
mov edi, eax
jne 0x416e47
jmp 0x416e20
mov eax, dword [esi + 0xc]
push ebx
push eax
call fcn.0042304b
add esp, 8
test eax, eax
jge 0x416e36
mov esi, dword [esi + 8]
jmp 0x416e3a
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0x15], 0
je 0x416e20
mov eax, dword [esp + 0xd8]
cmp edi, eax
mov dword [esp + 0x40], edi
je 0x416e6d
mov ecx, dword [edi + 0xc]
push ecx
push ebx
call fcn.0042304b
add esp, 8
test eax, eax
mov eax, dword [esp + 0xd8]
jl 0x416e6d
lea ecx, [esp + 0x3c]
jmp 0x416e80
lea edx, [esp + 0xd4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x44]
mov esi, dword [ecx]
cmp esi, ebp
mov edi, dword [ecx + 4]
mov ebx, eax
je 0x416e96
lea eax, [esp + 0xd4]
cmp esi, eax
je 0x416e9b
call fcn.0042180b
cmp edi, ebx
je 0x416eb7
cmp esi, ebp
jne 0x416ea8
call fcn.0042180b
cmp edi, dword [esi + 4]
jne 0x416eb2
call fcn.0042180b
mov edi, dword [edi + 0x10]
jmp 0x416eb9
xor edi, edi
cmp dword [esp + 0x2c], 8
jb 0x416ecd
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042181b
add esp, 4
cmp edi, ebp
je 0x41708e
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
call fcn.004041ac
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x416ef2
mov eax, dword [eax + 4]
jmp 0x416ef5
add eax, 4
push str.filename
lea ecx, [esp + 0xd8]
push ecx
call fcn.00409590
cmp dword [esp + 0x2c], edi
mov esi, eax
jb 0x416f1c
mov edx, dword [esp + 0x18]
push edx
call fcn.0042181b
add esp, 4
cmp esi, ebp
mov ebx, 7
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
je 0x416f48
push esi
lea eax, [esp + 0x138]
push 0x104
push eax
call fcn.00422bd4
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.004041ac
cmp dword [eax + 0x18], edi
jb 0x416f60
mov eax, dword [eax + 4]
jmp 0x416f63
add eax, 4
push 0x444504
lea edx, [esp + 0xd8]
push edx
call fcn.00409590
cmp dword [esp + 0x2c], edi
mov esi, eax
jb 0x416f8a
mov eax, dword [esp + 0x18]
push eax
call fcn.0042181b
add esp, 4
cmp esi, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
je 0x416fae
push esi
lea ecx, [esp + 0x118]
push 0x10
push ecx
call fcn.00422bd4
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
call fcn.004041ac
cmp dword [eax + 0x18], edi
jb 0x416fc6
mov eax, dword [eax + 4]
jmp 0x416fc9
add eax, 4
push str.extver
lea ecx, [esp + 0xd8]
push ecx
call fcn.00409590
cmp dword [esp + 0x2c], edi
mov esi, eax
jb 0x416ff0
mov edx, dword [esp + 0x18]
push edx
call fcn.0042181b
add esp, 4
cmp esi, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
je 0x417011
push esi
call fcn.004219a2
add esp, 4
mov dword [esp + 0x33c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.004041ac
cmp dword [eax + 0x18], edi
jb 0x417029
mov eax, dword [eax + 4]
jmp 0x41702c
add eax, 4
push str.scdver
lea ecx, [esp + 0xd8]
push ecx
call fcn.00409590
cmp dword [esp + 0x2c], edi
mov esi, eax
jb 0x417053
mov edx, dword [esp + 0x18]
push edx
call fcn.0042181b
add esp, 4
cmp esi, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
je 0x417074
push esi
call fcn.004219a2
add esp, 4
mov dword [esp + 0x340], eax
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x114]
call fcn.004187a0
add dword [esp + 0x38], 1
jmp 0x416c20
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xa0]
mov dword [esp + 0x44], eax
mov dword [esp + edx + 0x4c], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
test byte [esp + 0x98], 1
lea eax, [esp + 0x58]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x4170d1
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push eax
call fcn.0042181b
add esp, 4
mov edx, dword [esp + 0x68]
mov dword [edx], ebp
mov eax, dword [esp + 0x78]
mov dword [eax], ebp
mov ecx, dword [esp + 0x88]
mov dword [ecx], ebp
mov edx, dword [esp + 0x6c]
mov dword [edx], ebp
mov eax, dword [esp + 0x7c]
mov dword [eax], ebp
mov ecx, dword [esp + 0x8c]
mov dword [ecx], ebp
and dword [esp + 0x98], 0xfffffffe
mov dword [esp + 0x94], ebp
mov dword [esp + 0x58], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x350], 7
mov eax, dword [esp + 0x90]
cmp eax, ebp
mov ebx, eax
je 0x417174
mov edi, dword [eax]
cmp edi, ebp
je 0x41716b
push ebp
lea ecx, [esp + 0x3c]
call fcn.00420d87
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x417149
cmp eax, 0xffffffff
jae 0x417149
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x38]
and esi, edi
call fcn.00420da8
cmp esi, ebp
je 0x41716b
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.0042181b
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x350], 6
call fcn.00420dd2
mov byte [esp + 0x350], 3
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x4c], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [esp + 0x4c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x54]
and eax, ecx
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov dword [ecx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xa0]
mov dword [esp + eax + 0x4c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [esp + 0xa4], vtable.std::ios_base.0
call fcn.00421309
add esp, 4
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x354], 2
call fcn.00409490
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x41721b
lea ecx, [ecx]
mov ecx, dword [eax + 0x1000]
push eax
mov dword [esp + 0x34], ecx
call fcn.0042181b
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebp
jne 0x417200
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.00421402
add esp, 0x340
ret