Function at 0x470410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5158c1
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0x138], 0
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x138], 1
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x48], edi
mov byte [esp + 0x138], 2
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x38], ebx
mov esi, dword [ebp + 8]
push str.filePath
mov ecx, esi
mov byte [esp + 0x13c], 3
call fcn.0043a040
cmp eax, 0x57c240
je 0x471366
push str.filePath
mov ecx, esi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x471366
push str.filePath
mov ecx, esi
call fcn.0043a040
mov ebx, eax
cmp byte [ebx + 8], 4
je 0x470514
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
add esp, 0xc
mov edx, dword [ebx]
test edx, edx
jne 0x47051e
xor ecx, ecx
jmp 0x47052c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x470523
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.0042ca60
lea edx, [esp + 0x38]
lea ecx, [esp + 0x50]
call fcn.0042c120
mov ebx, dword [esp + 0x38]
sub esp, 0xc
lea ecx, [esp + 0x80]
push ebx
call fcn.004275a0
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
cmp dword [esp + eax + 0x80], 0
mov dword [esp + eax + 0x74], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x74]
sete byte [esp + 0x27]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x70], eax
cmp dword [esp + 0xd4], 0
mov dword [esp + 0x84], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x4705cd
mov edx, dword [esp + 0x90]
lea eax, [esp + 0xc8]
cmp dword [edx], eax
jne 0x4705cd
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
mov dword [edx], eax
mov eax, dword [esp + 0xa0]
mov dword [eax], ecx
mov eax, dword [esp + 0xb0]
sub ecx, ecx
mov dword [eax], ecx
cmp byte [esp + 0xd0], 0
je 0x4705e3
lea ecx, [esp + 0x84]
call fcn.00428330
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x84], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esp + 0x10], eax
test eax, eax
je 0x470621
mov ecx, dword [eax]
test ecx, ecx
je 0x470618
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x470614
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x10]
push eax
call fcn.004ea2dd
add esp, 4
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x74], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [esp + ecx + 0x70], eax
lea eax, [esp + 0xe4]
push eax
mov dword [esp + 0xe8], vtable.std::ios_base.0
call fcn.00509bc6
add esp, 4
cmp byte [esp + 0x27], 0
jne 0x47084d
push str.file_not_exist
lea ecx, [esp + 0x18]
call fcn.004204a0
push str.readTextFile
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 9
call fcn.004204a0
mov byte [esp + 0x138], 0xa
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 0xb
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x38]
push ecx
mov edx, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 0xc
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 0xd
cmp dword [eax + 0xc], 0
je 0x470701
push 0
push ecx
lea ecx, [esp + 0x18]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0xc
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x470727
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0xb
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47074d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 0xa
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470771
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 9
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470796
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4707bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readTextFile_fileNotExist
lea ecx, [esp + 0x14]
call fcn.004204a0
mov byte [esp + 0x138], 0xe
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 0xf
call fcn.00421890
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x13c], 0x10
call fcn.004222b0
mov byte [esp + 0x138], 0xf
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47083a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x138], 0xe
or esi, 0xffffffff
jmp 0x471484
push str.onFinishId
mov ecx, esi
call fcn.0043a040
or esi, 0xffffffff
cmp eax, 0x57c240
je 0x470bf0
mov ecx, dword [ebp + 8]
push str.onFinishId
call fcn.0043a040
cmp byte [eax + 8], 1
jne 0x470bf0
mov ecx, dword [ebp + 8]
push str.onFinishId
call fcn.0043a040
mov ecx, eax
call fcn.00439800
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x470d8e
push 8
call fcn.004ea353
mov esi, eax
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
je 0x4708ce
mov edx, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
jmp 0x4708d4
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov ecx, dword [esi]
lea edx, [ebx - 0x10]
sub ecx, 0x10
or esi, 0xffffffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
cmp edx, ecx
je 0x470947
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x1c], eax
jl 0x47093a
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x47093a
mov ecx, edx
call fcn.00420750
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47092f
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x470947
push dword [ebx - 0xc]
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00420c80
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x20]
mov dword [esp + 0x3c], 0
push 0x453d60
push 0
push 0
call fcn.004eaf86
add esp, 0x18
test eax, eax
jne 0x470be4
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [ebx]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470992
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call fcn.004ea2dd
add esp, 4
lea ecx, [esp + 0x14]
push str._beginthreadex_error
call fcn.00420550
push str.readTextFile
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 0x17
call fcn.004204a0
mov byte [esp + 0x138], 0x18
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 0x19
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 0x1a
cmp dword [eax + 0xc], 0
je 0x470a1d
push 2
push ecx
lea ecx, [esp + 0x18]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x19
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470a45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x138], 0x18
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470a66
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x17
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470a8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470ab0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readTextFile_beginthreadex_
lea ecx, [esp + 0x14]
call fcn.004204a0
mov byte [esp + 0x138], 0x1b
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 0x1c
call fcn.00421890
add esp, 4
mov ebx, eax
mov byte [esp + 0x138], 0x1d
call fcn.004ef043
push dword [eax]
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.00421800
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x13c], 0x1e
call fcn.004222b0
mov byte [esp + 0x138], 0x1d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470b50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x1c
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470b75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 0x1b
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470b99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470bbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 2
mov edx, dword [esp + 0x28]
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4714e0
mov ecx, dword [edx]
push edx
jmp 0x4714db
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4714bf
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.onFinishId_not_exist
mov byte [esp + 0x138], 0x11
test eax, 0xffff0000
jne 0x470c33
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470c41
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x470c41
push str.onFinishId_not_exist
lea ecx, [esp + 0x18]
call fcn.00420650
mov byte [esp + 0x138], 0x12
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.readTextFile
mov byte [esp + 0x138], 0x13
test eax, 0xffff0000
jne 0x470c8c
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470c9c
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x470c9c
push 0xc
push str.readTextFile
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x138], 0x14
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x34]
mov byte [esp + 0x13c], 0x15
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 0x16
cmp dword [eax + 0xc], 0
je 0x470cfa
push 2
push ecx
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x15
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470d20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 0x14
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470d44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x12
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470d69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470d8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x144], 0x20
call fcn.0042d590
test al, al
jne 0x47130b
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, 0x54c724
mov byte [esp + 0x138], 0x21
test eax, 0xffff0000
jne 0x470e45
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470e55
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x470e55
push 1
push 0x54c724
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x138], 0x22
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.readTextFile_ReadFile_
mov byte [esp + 0x138], 0x23
test eax, 0xffff0000
jne 0x470ea0
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470eb0
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x470eb0
push 0x16
push str.readTextFile_ReadFile_
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov byte [esp + 0x138], 0x24
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x40]
mov byte [esp + 0x13c], 0x25
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x38]
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x13c], 0x26
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x13c], 0x27
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x13c], 0x28
call fcn.00421890
add esp, 4
mov byte [esp + 0x138], 0x29
mov edx, dword [eax]
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
lea edi, [edx - 0x10]
mov dword [esp + 0x1c], ecx
cmp edi, ecx
je 0x470fac
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x30], eax
jl 0x470f9f
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x470f9f
mov ecx, edi
call fcn.00420750
mov edx, dword [esp + 0x30]
or edi, 0xffffffff
mov dword [esp + 0x20], eax
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x470f96
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0x10
mov dword [esp + 0x2c], eax
jmp 0x470faf
push dword [edx - 0xc]
lea ecx, [esp + 0x30]
push edx
call fcn.00420c80
or edi, 0xffffffff
mov byte [esp + 0x138], 0x28
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470fd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x27
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470ff9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x26
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47101e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x25
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471043
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x138], 0x24
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471064
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x22
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471089
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x20
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4710ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.readTextFile_ReadFile:
mov byte [esp + 0x138], 0x2a
test eax, 0xffff0000
jne 0x4710f1
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4710ff
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x4710ff
push str.readTextFile_ReadFile:
lea ecx, [esp + 0x1c]
call fcn.00420650
mov byte [esp + 0x138], 0x2b
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.readTextFile
mov byte [esp + 0x138], 0x2c
test eax, 0xffff0000
jne 0x47114a
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x47115a
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x47115a
push 0xc
push str.readTextFile
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov byte [esp + 0x138], 0x2d
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x3c], edi
mov byte [esp + 0x138], 0x2e
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x40], esi
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 0x2f
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x13c], 0x30
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x13c], 0x31
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 0x32
cmp dword [eax + 0xc], 0
je 0x47120a
push 2
push ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x31
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471230
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x30
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471256
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x2f
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47127c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 0x2e
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4712a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x138], 0x2d
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4712c1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x2b
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4712e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x20
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47130b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x47131a
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x47132c
push eax
call edi
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x471338
push eax
call edi
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47135d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x48]
jmp 0x4714bf
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, str.filePath_error
mov byte [esp + 0x138], 4
test eax, 0xffff0000
jne 0x4713a9
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4713b7
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00420bb0
jmp 0x4713b7
push str.filePath_error
lea ecx, [esp + 0x14]
call fcn.00420650
push str.readTextFile
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 5
call fcn.004204a0
mov byte [esp + 0x138], 6
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x44]
mov byte [esp + 0x13c], 7
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 8
cmp dword [eax + 0xc], 0
je 0x47142b
push 2
push ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 7
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x471451
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471475
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 5
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47149a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4714bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x138], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4714e0
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x471505
mov eax, 8
mov word [ebx], ax
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x471502
call fcn.004208f0
mov dword [ebx + 8], eax
add edi, 0xfffffff0
mov byte [esp + 0x138], 1
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471526
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47154b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x471571
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8