Function at 0x46f7c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5147c6
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x138], 0
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
mov byte [esp + 0x138], 1
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x30], ebx
mov edi, dword [ebp + 8]
push str.filePath
mov ecx, edi
mov byte [esp + 0x13c], 2
call fcn.00439d60
cmp eax, 0x57b240
je 0x4706e1
push str.filePath
mov ecx, edi
call fcn.00439d60
cmp byte [eax + 8], 4
jne 0x4706e1
push str.filePath
mov ecx, edi
call fcn.00439d60
mov ebx, eax
cmp byte [ebx + 8], 4
je 0x46f8a8
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ed740
add esp, 0xc
push dword [ebx]
lea ecx, [esp + 0x34]
call fcn.00420650
lea edx, [esp + 0x30]
mov ecx, edx
call fcn.0042c120
mov ebx, dword [esp + 0x30]
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 + 0x2f]
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 0x46f947
mov edx, dword [esp + 0x90]
lea eax, [esp + 0xc8]
cmp dword [edx], eax
jne 0x46f947
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 0x46f95d
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 + 0x14], eax
test eax, eax
je 0x46f99b
mov ecx, dword [eax]
test ecx, ecx
je 0x46f992
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x46f98e
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x14]
push eax
call fcn.004e932d
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.00508b56
add esp, 4
cmp byte [esp + 0x2f], 0
jne 0x46fbc7
push str.file_not_exist
lea ecx, [esp + 0x1c]
call fcn.004204a0
push str.readTextFile
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 8
call fcn.004204a0
mov byte [esp + 0x138], 9
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 0xa
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 0xb
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x138], 0xc
cmp dword [eax + 0xc], 0
je 0x46fa7b
push 0
push ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0xb
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46faa1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0xa
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 0x46fac7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0x138], 9
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46faeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 8
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 0x46fb10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 2
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 0x46fb35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readTextFile_fileNotExist
lea ecx, [esp + 0x18]
call fcn.004204a0
mov byte [esp + 0x138], 0xd
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 0xe
call fcn.00421890
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x13c], 0xf
call fcn.004222b0
mov byte [esp + 0x138], 0xe
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46fbb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x138], 0xd
or edi, 0xffffffff
jmp 0x4707ff
push str.onFinishId
mov ecx, edi
call fcn.00439d60
or edi, 0xffffffff
cmp eax, 0x57b240
je 0x46ff6a
mov ecx, dword [ebp + 8]
push str.onFinishId
call fcn.00439d60
cmp byte [eax + 8], 1
jne 0x46ff6a
mov ecx, dword [ebp + 8]
push str.onFinishId
call fcn.00439d60
mov ecx, eax
call fcn.00439520
mov dword [esp + 0x20], eax
cmp eax, edi
je 0x470104
push 8
call fcn.004e93a3
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], eax
test edi, edi
je 0x46fc48
mov edx, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [edi + 4], 0xffffffff
jmp 0x46fc4e
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov ecx, dword [edi]
lea edx, [ebx - 0x10]
sub ecx, 0x10
or edi, 0xffffffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
cmp edx, ecx
je 0x46fcc1
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x20], eax
jl 0x46fcb4
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x46fcb4
mov ecx, edx
call fcn.00420750
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46fca9
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x46fcc1
push dword [ebx - 0xc]
mov ecx, dword [esp + 0x20]
push ebx
call fcn.00420c80
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x24]
mov dword [esp + 0x40], 0
push 0x453a20
push 0
push 0
call fcn.004e9fd4
add esp, 0x18
test eax, eax
jne 0x46ff5e
mov ebx, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [ebx]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46fd0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call fcn.004e932d
add esp, 4
lea ecx, [esp + 0x18]
push str._beginthreadex_error
call fcn.00420550
push str.readTextFile
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 0x16
call fcn.004204a0
mov byte [esp + 0x138], 0x17
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 0x18
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x138], 0x19
cmp dword [eax + 0xc], 0
je 0x46fd97
push 2
push ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x18
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46fdbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x138], 0x17
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46fde0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x16
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 0x46fe05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 2
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46fe2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readTextFile_beginthreadex_
lea ecx, [esp + 0x18]
call fcn.004204a0
mov byte [esp + 0x138], 0x1a
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 0x1b
call fcn.00421890
add esp, 4
mov ebx, eax
mov byte [esp + 0x138], 0x1c
call fcn.004ee083
push dword [eax]
mov edx, ebx
lea ecx, [esp + 0x28]
call fcn.00421800
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x13c], 0x1d
call fcn.004222b0
mov byte [esp + 0x138], 0x1c
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46feca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x1b
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46feef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0x138], 0x1a
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ff13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 2
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 0x46ff38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 1
mov edx, dword [esp + 0x28]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47085b
mov ecx, dword [edx]
push edx
jmp 0x470856
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47083a
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.onFinishId_not_exist
mov byte [esp + 0x138], 0x10
test eax, 0xffff0000
jne 0x46ffad
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x46ffbb
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x46ffbb
push str.onFinishId_not_exist
lea ecx, [esp + 0x1c]
call fcn.00420650
mov byte [esp + 0x138], 0x11
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.readTextFile
mov byte [esp + 0x138], 0x12
test eax, 0xffff0000
jne 0x470006
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470016
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x470016
push 0xc
push str.readTextFile
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x138], 0x13
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x13c], 0x14
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x138], 0x15
cmp dword [eax + 0xc], 0
je 0x470074
push 2
push ecx
lea ecx, [esp + 0x24]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x14
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470099
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x138], 0x13
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4700ba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x11
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4700df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 2
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 0x470104
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], 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 + 0x14]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x144], 0x1f
call fcn.0042d630
test al, al
jne 0x470686
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, 0x54b724
mov byte [esp + 0x138], 0x20
test eax, 0xffff0000
jne 0x4701bb
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4701cb
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x4701cb
push 1
push 0x54b724
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x138], 0x21
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.readTextFile_ReadFile_
mov byte [esp + 0x138], 0x22
test eax, 0xffff0000
jne 0x470216
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470226
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x470226
push 0x16
push str.readTextFile_ReadFile_
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x138], 0x23
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x44]
mov byte [esp + 0x13c], 0x24
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x13c], 0x25
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x13c], 0x26
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x13c], 0x27
call fcn.00421890
add esp, 4
mov byte [esp + 0x138], 0x28
mov edx, dword [eax]
mov ecx, dword [esp + 0x38]
lea eax, [edx - 0x10]
mov dword [esp + 0x34], eax
add ecx, 0xfffffff0
lea eax, [edx - 0x10]
mov dword [esp + 0x24], ecx
cmp eax, ecx
je 0x470329
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x20], eax
jl 0x47031c
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x47031c
mov ecx, dword [esp + 0x34]
call fcn.00420750
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x470313
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0x10
mov dword [esp + 0x38], eax
jmp 0x470329
push dword [edx - 0xc]
lea ecx, [esp + 0x3c]
push edx
call fcn.00420c80
mov byte [esp + 0x138], 0x27
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47034e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x26
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470373
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x25
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 0x470398
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x24
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 0x4703bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x138], 0x23
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4703de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x21
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 0x470403
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x1f
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470428
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.readTextFile_ReadFile:
mov byte [esp + 0x138], 0x29
test eax, 0xffff0000
jne 0x47046b
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470479
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x470479
push str.readTextFile_ReadFile:
lea ecx, [esp + 0x20]
call fcn.00420650
mov byte [esp + 0x138], 0x2a
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.readTextFile
mov byte [esp + 0x138], 0x2b
test eax, 0xffff0000
jne 0x4704c4
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4704d4
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x4704d4
push 0xc
push str.readTextFile
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x138], 0x2c
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x40], edi
mov byte [esp + 0x138], 0x2d
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x48]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 0x2e
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x13c], 0x2f
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x13c], 0x30
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x138], 0x31
cmp dword [eax + 0xc], 0
je 0x470584
push 2
push ecx
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x30
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4705aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x2f
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4705d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x2e
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 0x4705f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x138], 0x2d
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470618
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0x138], 0x2c
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47063c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x2a
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 0x470661
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x1f
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470686
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x470695
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x4706a7
push eax
call esi
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x4706b3
push eax
call esi
mov byte [esp + 0x138], 2
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 0x4706d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x4c]
jmp 0x47083a
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.filePath_error
mov byte [esp + 0x138], 3
test eax, 0xffff0000
jne 0x470724
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x470732
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x470732
push str.filePath_error
lea ecx, [esp + 0x18]
call fcn.00420650
push str.readTextFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 4
call fcn.004204a0
mov byte [esp + 0x138], 5
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x40], edi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x48]
mov byte [esp + 0x13c], 6
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x138], 7
cmp dword [eax + 0xc], 0
je 0x4707a6
push 2
push ecx
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 6
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4707cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0x138], 5
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4707f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 4
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 0x470815
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 2
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 0x47083a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x138], 1
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47085b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x470880
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x47087d
call fcn.004208f0
mov dword [ebx + 8], eax
add esi, 0xfffffff0
mov byte [esp + 0x138], 0
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4708a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4708c7
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