Function at 0x434720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c129
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x47800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x434d03
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x434779
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x4347a2
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 1
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x4347c8
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
push str.filePath
call fcn.004497b0
cmp eax, 0x47ae10
je 0x434c6b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 8], 0
jne 0x434804
mov ecx, 0x47ae10
jmp 0x43488f
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x1c], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], str.filePath
mov dword [ebp - 0x18], 0
call fcn.00449b10
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x43485a
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0
je 0x434853
cmp dword [ebp - 0x18], 1
jne 0x434853
call fcn.004489d0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, 0x47ae10
jmp 0x434888
lea ecx, [eax + 0x18]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0
je 0x434888
cmp dword [ebp - 0x18], 1
jne 0x434888
call fcn.004489d0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp byte [ecx + 8], 4
jne 0x434c6b
cmp byte [eax + 8], 0
jne 0x4348a6
mov esi, 0x47ae10
jmp 0x434921
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x1c], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], str.filePath
mov dword [ebp - 0x18], 0
call fcn.00449b10
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x4348fb
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4348f4
cmp dword [ebp - 0x18], 1
jne 0x4348f4
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x43491d
lea esi, [eax + 0x18]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1c], 0
je 0x43491d
cmp dword [ebp - 0x18], 1
jne 0x43491d
call fcn.004489d0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
mov edx, dword [esi]
test edx, edx
jne 0x43492b
xor ecx, ecx
jmp 0x434939
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434930
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004410c0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.00453880
push 0xb8
lea eax, [ebp - 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x104]
push esi
call fcn.0044f330
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x94]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xf8]
mov dword [ebp - 0x108], eax
call fcn.0044f280
lea ecx, [ebp - 0x94]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0x108], 0
je 0x4349c2
push esi
push str.CDispatcherHandler::ReadTextFile
push str._s_file_not_exist___s_
push 3
push 5
call fcn.004506f0
add esp, 0x14
jmp 0x434c81
mov ecx, dword [ebp - 0x14]
push str.onFinishId
call fcn.004497b0
cmp eax, 0x47ae10
je 0x434b73
mov eax, dword [ebp - 0x14]
cmp byte [eax + 8], 0
jne 0x4349ed
mov ecx, 0x47ae10
jmp 0x434a78
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x1c], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], str.onFinishId
mov dword [ebp - 0x18], 0
call fcn.00449b10
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x434a43
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1c], 0
je 0x434a3c
cmp dword [ebp - 0x18], 1
jne 0x434a3c
call fcn.004489d0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, 0x47ae10
jmp 0x434a71
lea ecx, [eax + 0x18]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], 0
je 0x434a71
cmp dword [ebp - 0x18], 1
jne 0x434a71
call fcn.004489d0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp byte [ecx + 8], 1
jne 0x434b73
push str.onFinishId
mov ecx, eax
call fcn.004497b0
mov ecx, eax
call fcn.00448fa0
mov dword [ebp - 0x108], eax
cmp eax, 0xffffffff
je 0x434b89
push 0x14
call fcn.0045690d
add esp, 4
mov dword [ebp - 0x14], eax
push 0x460244
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0042c540
mov ecx, dword [ebp - 0x14]
push 0x460244
lea ecx, [ecx + 4]
call fcn.0042c540
mov eax, dword [ebp - 0x14]
push 0x460244
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
call fcn.0042c540
mov ecx, dword [ebp - 0x14]
push 0x460244
lea ecx, [ecx + 0x10]
call fcn.0042c540
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.0042d300
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov eax, dword [ebp - 0x14]
push 0
push eax
push 0x434360
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x434b67
mov ecx, dword [ebp - 0x14]
call fcn.00429dd0
push 0x14
push dword [ebp - 0x14]
call fcn.00456940
push str.CDispatcherHandler::ReadTextFile
push str._s__beginthreadex_error
push 3
push 5
call fcn.004506f0
add esp, 0x18
jmp 0x434c81
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x434c81
push str.CDispatcherHandler::ReadTextFile
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.004506f0
add esp, 0x10
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x434b9e
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044e5b0
mov esi, dword [ebp - 0x14]
test al, al
jne 0x434c1d
push esi
push str.CDispatcherHandler::ReadTextFile
push str._s_ReadFile_error___s_
push 3
push 5
call fcn.004506f0
add esp, 0x14
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x434c2b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x434c3c
push eax
call edi
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
je 0x434c47
push eax
call edi
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x434c63
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
jmp 0x434c81
push str.CDispatcherHandler::ReadTextFile
push str._s_filePath_error
push 3
push 5
call fcn.004506f0
add esp, 0x10
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434c9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10c]
mov ecx, 8
mov word [eax], cx
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x434cc0
call fcn.0042d8e0
mov ecx, dword [ebp - 0x10c]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
mov dword [ecx + 8], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x434ce4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x434d03
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004568f7
mov esp, ebp
pop ebp
ret 8