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

Disassembly:
push 0xffffffffffffffff
push 0x43d84b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44d404]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x13c]
xor ebx, ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0xe4]
push eax
mov dword [esp + 0x138], ebx
call fcn.00408af0
mov dword [esp + 0x110], ebx
mov dword [esp + method.t_fileTextRead.virtual_0], vtable.t_fileTextRead.0
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x138], 1
call fcn.004040d8
lea edx, [esp + 0x110]
push edx
push str.scdlist
lea ecx, [esp + 0xec]
mov byte [esp + 0x13c], 2
call fcn.004090f0
push 0x444398
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0042239a
add esp, 4
mov ecx, 0x444398
lea esi, [esp + 0x14]
call fcn.004057ef
mov byte [esp + 0x134], 3
test byte [esp + 0x88], 1
je 0x417b65
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
push eax
call fcn.0042181b
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [ecx], ebx
mov edx, dword [esp + 0x68]
mov dword [edx], ebx
mov eax, dword [esp + 0x78]
mov dword [eax], ebx
mov ecx, dword [esp + 0x5c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x6c]
mov dword [edx], ebx
mov eax, dword [esp + 0x7c]
mov dword [eax], ebx
and dword [esp + 0x88], 0xfffffffe
mov ecx, dword [esp + 0x18]
mov ebp, 8
cmp dword [esp + 0x2c], ebp
jae 0x417ba4
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x84], ebx
je 0x417bbd
push ecx
lea esi, [esp + 0x4c]
call fcn.00405acf
mov byte [esp + 0x134], 2
cmp dword [esp + 0x2c], ebp
jb 0x417bd8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042181b
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x417be3
xor eax, eax
jmp 0x417bfb
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea edx, [esp + 0x48]
push edx
call fcn.00403c5f
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x40]
call fcn.004041ac
mov byte [esp + 0x134], 4
cmp dword [eax + 0x18], ebp
jb 0x417c29
mov eax, dword [eax + 4]
jmp 0x417c2c
add eax, 4
push eax
push str.count
push str.scdlist
lea eax, [esp + 0xf0]
call fcn.00409620
mov byte [esp + 0x134], 2
cmp dword [esp + 0xe0], ebp
jb 0x417c64
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0042181b
add esp, 4
push 0x4444f0
push 0x4444f4
push str.scdlist
lea eax, [esp + 0xf0]
call fcn.00409620
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.00418770
test eax, eax
jle 0x4183ef
push 0x444398
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0042239a
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x30]
mov ebp, 8
add esp, 4
cmp eax, ebp
mov edx, ecx
jae 0x417cc9
lea edx, [esp + 0x18]
cmp edx, 0x444398
ja 0x417d0c
cmp eax, ebp
mov edx, ecx
jae 0x417cdb
lea edx, [esp + 0x18]
mov edi, dword [esp + 0x28]
lea edx, [edx + edi*2]
cmp edx, 0x444398
jbe 0x417d0c
cmp eax, ebp
mov eax, ecx
jae 0x417cf4
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 ebx, ebx
jmp 0x417d78
cmp esi, 0x7ffffffe
jbe 0x417d21
call fcn.004209a6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cmp eax, esi
jae 0x417e48
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, ebx
jbe 0x417d78
cmp eax, ebp
jae 0x417d4d
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], ebp
mov dword [esp + 0x28], esi
jae 0x417d74
lea eax, [esp + 0x18]
mov word [eax + edi], bx
mov byte [esp + 0x134], 5
test byte [esp + 0x88], 1
je 0x417d99
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.0042181b
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], ebx
mov eax, dword [esp + 0x68]
mov dword [eax], ebx
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebx
mov edx, dword [esp + 0x5c]
mov dword [edx], ebx
mov eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x7c]
mov dword [ecx], ebx
and dword [esp + 0x88], 0xfffffffe
cmp dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x18]
jae 0x417dd3
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x84], ebx
je 0x417dec
push ecx
lea esi, [esp + 0x4c]
call fcn.00405acf
mov byte [esp + 0x134], 2
cmp dword [esp + 0x2c], ebp
jb 0x417e07
mov edx, dword [esp + 0x18]
push edx
call fcn.0042181b
add esp, 4
mov esi, dword [esp + 0x30]
push esi
push ecx
lea eax, [esp + 0x4c]
push 0x44439c
push eax
call fcn.00406c8b
add esp, 0xc
push eax
call fcn.00403b67
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x40]
call fcn.004041ac
mov byte [esp + 0x134], 6
cmp dword [eax + 0x18], ebp
jb 0x417e66
mov eax, dword [eax + 4]
jmp 0x417e69
cmp esi, ebx
jne 0x417d43
cmp eax, ebp
mov dword [esp + 0x28], ebx
mov eax, ecx
jae 0x417e5e
lea eax, [esp + 0x18]
mov word [eax], bx
jmp 0x417d78
add eax, 4
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xec]
call fcn.004090f0
mov byte [esp + 0x134], 2
cmp dword [esp + 0xe0], ebp
mov dword [esp + 0x34], eax
jb 0x417ea3
mov eax, dword [esp + 0xcc]
push eax
call fcn.0042181b
add esp, 4
mov ecx, dword [esp + 0x13c]
mov eax, dword [ecx + 4]
cmp eax, ebx
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
je 0x417ee7
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x417eec
call fcn.0042180b
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x13c]
mov ecx, dword [edi + 4]
mov ebp, esi
imul ebp, ebp, 0x230
lea edx, [esp + 0x110]
push edx
lea eax, [ecx + ebp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
push str.filename
push eax
call fcn.00408c50
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x417f41
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x417f46
call fcn.0042180b
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x110]
push ecx
add eax, ebp
push eax
push 0x444504
push edx
call fcn.00408c50
push 0x444398
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0042239a
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, 8
mov edx, ecx
jae 0x417f96
lea edx, [esp + 0x18]
cmp edx, 0x444398
ja 0x417fdd
cmp eax, 8
mov edx, ecx
jae 0x417fa9
lea edx, [esp + 0x18]
mov ebx, dword [esp + 0x28]
lea edx, [edx + ebx*2]
cmp edx, 0x444398
jbe 0x417fdb
cmp eax, 8
mov eax, ecx
jae 0x417fc3
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 ebx, ebx
jmp 0x418052
xor ebx, ebx
cmp esi, 0x7ffffffe
jbe 0x417ff2
call fcn.004209a6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cmp eax, esi
jae 0x418147
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, ebx
jbe 0x418052
cmp eax, 8
jae 0x41801f
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 0x418047
lea eax, [esp + 0x18]
mov word [eax + edi], bx
mov edi, dword [esp + 0x13c]
mov byte [esp + 0x134], 7
test byte [esp + 0x88], 1
je 0x418073
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.0042181b
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], ebx
mov eax, dword [esp + 0x68]
mov dword [eax], ebx
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebx
mov edx, dword [esp + 0x5c]
mov dword [edx], ebx
mov eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x7c]
mov dword [ecx], ebx
and dword [esp + 0x88], 0xfffffffe
cmp dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x18]
jae 0x4180ae
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x84], ebx
je 0x4180c7
push ecx
lea esi, [esp + 0x4c]
call fcn.00405acf
mov byte [esp + 0x134], 2
cmp dword [esp + 0x2c], 8
jb 0x4180e3
mov edx, dword [esp + 0x18]
push edx
call fcn.0042181b
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x418108
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x30], eax
jb 0x41810d
call fcn.0042180b
mov eax, dword [edi + 4]
mov ecx, dword [eax + ebp + 0x228]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00403b67
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call fcn.004041ac
mov esi, 8
mov byte [esp + 0x134], 8
cmp dword [eax + 0x18], esi
jb 0x418166
mov eax, dword [eax + 4]
jmp 0x418169
cmp esi, ebx
jne 0x418014
cmp eax, 8
mov dword [esp + 0x28], ebx
mov eax, ecx
jae 0x41815e
lea eax, [esp + 0x18]
mov word [eax], bx
jmp 0x418052
add eax, 4
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x110]
push ecx
push eax
push str.extver
push edx
call fcn.00408c50
mov byte [esp + 0x134], 2
cmp dword [esp + 0x2c], esi
jb 0x41819c
mov eax, dword [esp + 0x18]
push eax
call fcn.0042181b
add esp, 4
push 0x444398
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.0042239a
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, 8
mov edx, ecx
jae 0x4181cf
lea edx, [esp + 0x18]
cmp edx, 0x444398
ja 0x418216
cmp eax, 8
mov edx, ecx
jae 0x4181e2
lea edx, [esp + 0x18]
mov ebx, dword [esp + 0x28]
lea edx, [edx + ebx*2]
cmp edx, 0x444398
jbe 0x418214
cmp eax, 8
mov eax, ecx
jae 0x4181fc
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 ebx, ebx
jmp 0x41828b
xor ebx, ebx
cmp esi, 0x7ffffffe
jbe 0x41822b
call fcn.004209a6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cmp eax, esi
jae 0x418380
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, ebx
jbe 0x41828b
cmp eax, 8
jae 0x418258
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 0x418280
lea eax, [esp + 0x18]
mov word [eax + edi], bx
mov edi, dword [esp + 0x13c]
mov byte [esp + 0x134], 9
test byte [esp + 0x88], 1
je 0x4182ac
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.0042181b
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], ebx
mov eax, dword [esp + 0x68]
mov dword [eax], ebx
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebx
mov edx, dword [esp + 0x5c]
mov dword [edx], ebx
mov eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x7c]
mov dword [ecx], ebx
and dword [esp + 0x88], 0xfffffffe
cmp dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x18]
jae 0x4182e7
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x84], ebx
je 0x418300
push ecx
lea esi, [esp + 0x4c]
call fcn.00405acf
mov byte [esp + 0x134], 2
cmp dword [esp + 0x2c], 8
jb 0x41831c
mov edx, dword [esp + 0x18]
push edx
call fcn.0042181b
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x418341
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x30], eax
jb 0x418346
call fcn.0042180b
mov eax, dword [edi + 4]
mov ecx, dword [eax + ebp + 0x22c]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00403b67
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call fcn.004041ac
mov esi, 8
mov byte [esp + 0x134], 0xa
cmp dword [eax + 0x18], esi
jb 0x41839f
mov eax, dword [eax + 4]
jmp 0x4183a2
cmp esi, ebx
jne 0x41824d
cmp eax, 8
mov dword [esp + 0x28], ebx
mov eax, ecx
jae 0x418397
lea eax, [esp + 0x18]
mov word [eax], bx
jmp 0x41828b
add eax, 4
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x110]
push ecx
push eax
push str.scdver
push edx
call fcn.00408c50
mov byte [esp + 0x134], 2
cmp dword [esp + 0x2c], esi
jb 0x4183d5
mov eax, dword [esp + 0x18]
push eax
call fcn.0042181b
add esp, 4
mov esi, dword [esp + 0x30]
add esi, 1
mov ecx, edi
mov dword [esp + 0x30], esi
call fcn.00418770
cmp esi, eax
jl 0x417c92
mov eax, dword [esp + 0x13c]
cmp dword [eax + 0x28], 8
jb 0x418401
mov eax, dword [eax + 0x14]
jmp 0x418404
add eax, 0x14
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xec]
push edx
call fcn.004097f0
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x90]
mov dword [esp + 0x30], eax
mov dword [esp + edx + 0x3c], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
test byte [esp + 0x88], 1
lea eax, [esp + 0x48]
mov dword [esp + 0x124], eax
mov dword [esp + 0x48], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x41845d
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.0042181b
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], ebx
mov eax, dword [esp + 0x68]
mov dword [eax], ebx
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebx
mov edx, dword [esp + 0x5c]
mov dword [edx], ebx
mov eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x7c]
mov dword [ecx], ebx
and dword [esp + 0x88], 0xfffffffe
mov dword [esp + 0x84], ebx
mov dword [esp + 0x48], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x134], 0xc
mov eax, dword [esp + 0x80]
cmp eax, ebx
mov ebp, eax
je 0x4184fa
mov edi, dword [eax]
cmp edi, ebx
je 0x4184f1
push ebx
lea ecx, [esp + 0x38]
call fcn.00420d87
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x4184cf
cmp eax, 0xffffffff
jae 0x4184cf
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x34]
and esi, edi
call fcn.00420da8
cmp esi, ebx
je 0x4184f1
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0042181b
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x134], 0xb
call fcn.00420dd2
mov byte [esp + 0x134], 1
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x3c], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x44]
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 + 0x3c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x90]
mov dword [esp + eax + 0x3c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.00421309
add esp, 4
lea edx, [esp + 0xe4]
push edx
mov byte [esp + 0x138], bl
call fcn.00409490
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x418597
mov eax, esi
mov esi, dword [esi + 0x1000]
push eax
call fcn.0042181b
add esp, 4
cmp esi, ebx
jne 0x418582
mov al, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 4