Function at 0x46f270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x595cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f2b0
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f2d7
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f2fb
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 2
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f31f
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
mov ecx, edi
push str.filePath
call fcn.00438d70
cmp eax, 0x59c858
je 0x46ff1c
mov al, byte [edi + 8]
test al, al
je 0x46f36a
cmp al, 7
je 0x46f36a
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
mov al, byte [edi + 8]
mov byte [ebp - 0xd], al
test al, al
jne 0x46f37b
mov ecx, 0x59c858
jmp 0x46f3b4
mov edi, dword [edi]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], str.filePath
push eax
mov ecx, edi
mov dword [ebp - 0x3c], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x46f3a7
mov ecx, 0x59c858
jmp 0x46f3aa
lea ecx, [eax + 0x18]
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
cmp byte [ecx + 8], 4
jne 0x46ff1c
test al, al
je 0x46f3dd
cmp al, 7
je 0x46f3dd
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x46f3ea
mov ebx, 0x59c858
jmp 0x46f420
mov edi, dword [edi]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], str.filePath
push eax
mov ecx, edi
mov dword [ebp - 0x3c], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x46f416
mov ebx, 0x59c858
jmp 0x46f419
lea ebx, [eax + 0x18]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
cmp byte [ebx + 8], 4
je 0x46f43d
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edx, dword [ebx]
test edx, edx
jne 0x46f447
xor ecx, ecx
jmp 0x46f459
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46f450
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042cb10
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.0042c0f0
lea ecx, [ebp - 0x14]
call fcn.004259c0
test al, al
jne 0x46f657
push str.file_not_exist
lea ecx, [ebp - 0x1c]
call fcn.0041f910
push str.readTextFile
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.0041f910
mov byte [ebp - 4], 0xd
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f4b5
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x34]
call fcn.00420f70
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00420f70
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x10
cmp dword [eax + 0xc], 0
je 0x46f507
push 0
push ecx
lea ecx, [ebp + 8]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0xf
or ebx, 0xffffffff
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f528
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f546
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46f561
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f57f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f59d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readTextFile_fileNotExist
lea ecx, [ebp + 8]
call fcn.0041f910
mov byte [ebp - 4], 0x11
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f5c3
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x34], edi
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x30]
call fcn.00420f70
add esp, 4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.00421a50
mov byte [ebp - 4], 0x12
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f60f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46f62a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f648
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x470016
push str.onFinishId
mov ecx, edi
call fcn.00438d70
or ebx, 0xffffffff
cmp eax, 0x59c858
je 0x46f9dc
mov al, byte [edi + 8]
test al, al
je 0x46f693
cmp al, 7
je 0x46f693
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
mov al, byte [edi + 8]
mov byte [ebp - 0xd], al
test al, al
jne 0x46f6a4
mov ecx, 0x59c858
jmp 0x46f6dd
mov edi, dword [edi]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], str.onFinishId
push eax
mov ecx, edi
mov dword [ebp - 0x3c], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x46f6d0
mov ecx, 0x59c858
jmp 0x46f6d3
lea ecx, [eax + 0x18]
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
cmp byte [ecx + 8], 1
jne 0x46f9dc
test al, al
je 0x46f706
cmp al, 7
je 0x46f706
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x46f713
mov ecx, 0x59c858
jmp 0x46f746
mov edi, dword [edi]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x48], str.onFinishId
push eax
mov ecx, edi
mov dword [ebp - 0x44], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x46f73f
mov ecx, 0x59c858
jmp 0x46f742
lea ecx, [eax + 0x18]
mov byte [ebp - 4], 3
call fcn.00438670
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x46fb12
push 8
call fcn.004f457c
add esp, 4
mov edi, eax
mov dword [ebp - 0x44], edi
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f77b
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov ecx, edi
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00421a50
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0
push edi
push 0x451ba0
push 0
push 0
call fcn.004fc2dd
add esp, 0x18
test eax, eax
jne 0x46f9c6
mov edx, dword [edi]
or ebx, 0xffffffff
sub edx, 0x10
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f7d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 8
push edi
call fcn.004f4e4c
add esp, 8
lea ecx, [ebp - 0x1c]
push str._beginthreadex_error
call fcn.0041f870
push str.readTextFile
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1d
call fcn.0041f910
mov byte [ebp - 4], 0x1e
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f81b
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x1f
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x20
cmp dword [eax + 0xc], 0
je 0x46f85b
push 2
push ecx
lea ecx, [ebp + 8]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x1f
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f879
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46f894
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1d
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f8b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f8d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readTextFile_beginthreadex_
lea ecx, [ebp + 8]
call fcn.0041f910
mov byte [ebp - 4], 0x21
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f8f6
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x22
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1c]
call fcn.00420f70
mov ebx, eax
mov byte [ebp - 4], 0x23
call fcn.004fc697
mov edx, ebx
lea ecx, [ebp - 0x2c]
push dword [eax]
call fcn.00420ee0
add esp, 8
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x24
call fcn.00421a50
mov byte [ebp - 4], 0x23
or ebx, 0xffffffff
mov edx, dword [ebp - 0x2c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f95c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f97a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46f995
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46f648
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x470016
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x470016
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46f9f1
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, str.onFinishId_not_exist
mov byte [ebp - 4], 0x18
test eax, 0xffff0000
jne 0x46fa26
movzx esi, ax
mov ecx, esi
call fcn.0041f3d0
test eax, eax
je 0x46fa33
push esi
push eax
lea ecx, [ebp + 8]
call fcn.0041fbd0
jmp 0x46fa33
push str.onFinishId_not_exist
lea ecx, [ebp + 8]
call fcn.0041fa30
push str.readTextFile
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x19
call fcn.0041f910
mov byte [ebp - 4], 0x1a
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46fa5d
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x1b
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x30]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0xc], 0
je 0x46fa9d
push 2
push ecx
lea ecx, [ebp - 0x1c]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x1b
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fabb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46fad6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46faf4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fb12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46fb27
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x68]
call fcn.0042d550
test al, al
jne 0x46fec2
push 0x56d0dc
lea ecx, [ebp - 0x2c]
call fcn.0041f910
push str.readTextFile_ReadFile_
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x27
call fcn.0041f910
mov byte [ebp - 4], 0x28
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46fbba
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x29
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x44]
call fcn.00420f70
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2a
push ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00420f70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2b
push ecx
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.00420f70
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x2c
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00420f70
add esp, 0x10
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x2d
call fcn.00421a50
mov byte [ebp - 4], 0x2c
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fc3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2b
mov eax, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fc5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2a
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fc78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x29
mov eax, ebx
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fc96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x28
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46fcb1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x27
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fccf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fced
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46fd02
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, str.readTextFile_ReadFile:
mov byte [ebp - 4], 0x2e
test eax, 0xffff0000
jne 0x46fd37
movzx esi, ax
mov ecx, esi
call fcn.0041f3d0
test eax, eax
je 0x46fd44
push esi
push eax
lea ecx, [ebp + 8]
call fcn.0041fbd0
jmp 0x46fd44
push str.readTextFile_ReadFile:
lea ecx, [ebp + 8]
call fcn.0041fa30
push str.readTextFile
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2f
call fcn.0041f910
mov byte [ebp - 4], 0x30
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46fd6e
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 0x31
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46fd92
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x32
push eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x30]
call fcn.00420f70
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x33
push ecx
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.00420f70
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x34
push ecx
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.00420f70
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x35
cmp dword [eax + 0xc], 0
je 0x46fdf6
push 2
push ecx
lea ecx, [ebp - 0x2c]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x34
mov eax, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fe14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x33
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fe32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x32
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fe50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46fe6b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x30
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46fe86
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2f
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fea4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fec2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x46fed0
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x46fee1
push eax
call esi
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
je 0x46feec
push eax
call esi
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ff0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x470016
push str.filePath_error
lea ecx, [ebp - 0x2c]
call fcn.0041f870
push str.readTextFile
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.0041f910
mov byte [ebp - 4], 7
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x46ff53
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x44], edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x3c]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
cmp dword [eax + 0xc], 0
je 0x46ff93
push 2
push ecx
lea ecx, [ebp + 8]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ffb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ffd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ffee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47000c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47002a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x47004f
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x47004c
call fcn.0041fd30
mov dword [edi + 8], eax
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47006a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x470088
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4700a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8