Function at 0x435a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487ab2
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4b3014]
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 - 0x54], eax
test eax, eax
je 0x435ffb
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x435aa3
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.0040f790
mov ecx, eax
test ecx, ecx
jne 0x435acc
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.0040f790
mov ecx, eax
test ecx, ecx
jne 0x435af2
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.0044e8e0
cmp eax, 0x4b75d0
je 0x435f69
mov eax, dword [ebp - 0x14]
cmp byte [eax + 8], 0
jne 0x435b2e
mov ecx, 0x4b75d0
jmp 0x435bb3
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.0044ec50
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x435b84
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0
je 0x435b7d
cmp dword [ebp - 0x18], 1
jne 0x435b7d
call fcn.0044dab0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, 0x4b75d0
jmp 0x435bac
lea ecx, [eax + 0x18]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0
je 0x435bac
cmp dword [ebp - 0x18], 1
jne 0x435bac
call fcn.0044dab0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp byte [ecx + 8], 4
jne 0x435f69
cmp byte [eax + 8], 0
jne 0x435bd0
mov esi, dword [ebp - 0x14]
mov eax, 0x4b75d0
jmp 0x435c52
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.0044ec50
mov esi, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [esi]
cmp eax, dword [ecx]
jne 0x435c26
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 0
je 0x435c1f
cmp dword [ebp - 0x18], 1
jne 0x435c1f
call fcn.0044dab0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x435c4e
add eax, 0x18
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1c], 0
je 0x435c4e
cmp dword [ebp - 0x18], 1
jne 0x435c4e
call fcn.0044dab0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 2
mov edx, dword [eax]
test edx, edx
jne 0x435c5c
xor ecx, ecx
jmp 0x435c6e
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435c64
sub ecx, dword [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042f770
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.0045b110
lea ecx, [ebp - 0x20]
call fcn.00455d60
test al, al
jne 0x435cae
mov esi, dword [ebp - 0x20]
push esi
push str.CDispatcherHandler::ReadTextFile
push str._s_file_not_exist___s_
push 3
push 5
call fcn.00457970
add esp, 0x14
jmp 0x435f7f
push str.onFinishId
mov ecx, esi
call fcn.0044e8e0
or esi, 0xffffffff
cmp eax, 0x4b75d0
je 0x435e68
mov eax, dword [ebp - 0x14]
cmp byte [eax + 8], 0
jne 0x435cdb
mov ecx, 0x4b75d0
jmp 0x435d60
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.0044ec50
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x435d31
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1c], 0
je 0x435d2a
cmp dword [ebp - 0x18], 1
jne 0x435d2a
call fcn.0044dab0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, 0x4b75d0
jmp 0x435d59
lea ecx, [eax + 0x18]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], 0
je 0x435d59
cmp dword [ebp - 0x18], 1
jne 0x435d59
call fcn.0044dab0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp byte [ecx + 8], 1
jne 0x435e68
push str.onFinishId
mov ecx, eax
call fcn.0044e8e0
mov ecx, eax
call fcn.0044e080
mov dword [ebp - 0x50], eax
cmp eax, 0xffffffff
je 0x435e7e
push 0x14
call fcn.0045ea95
add esp, 4
mov dword [ebp - 0x14], eax
push 0x4983ec
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0042d320
mov ecx, dword [ebp - 0x14]
push 0x4983ec
lea ecx, [ecx + 4]
call fcn.0042d320
mov eax, dword [ebp - 0x14]
push 0x4983ec
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
call fcn.0042d320
mov ecx, dword [ebp - 0x14]
push 0x4983ec
lea ecx, [ecx + 0x10]
call fcn.0042d320
mov ecx, dword [ebp - 0x50]
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.0042e2f0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov eax, dword [ebp - 0x14]
push 0
push eax
push 0x435650
push 0
push 0
call fcn.00465ee2
add esp, 0x18
test eax, eax
jne 0x435e52
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0042a1a0
push 0x14
push esi
call fcn.0045eac8
push str.CDispatcherHandler::ReadTextFile
push str._s__beginthreadex_error
push 3
push 5
call fcn.00457970
mov byte [ebp - 4], 1
add esp, 0x18
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
jmp 0x435f86
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
jmp 0x435f89
push str.CDispatcherHandler::ReadTextFile
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.00457970
add esp, 0x10
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x435e93
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.00455940
mov esi, dword [ebp - 0x14]
test al, al
jne 0x435f12
push esi
push str.CDispatcherHandler::ReadTextFile
push str._s_ReadFile_error___s_
push 3
push 5
call fcn.00457970
add esp, 0x14
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x435f20
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 0x435f31
push eax
call edi
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
je 0x435f3c
push eax
call edi
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435f5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
jmp 0x435f89
push str.CDispatcherHandler::ReadTextFile
push str._s_filePath_error
push 3
push 5
call fcn.00457970
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 0x435f9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov ecx, 8
mov word [eax], cx
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x435fbb
call fcn.0042e970
mov ecx, dword [ebp - 0x54]
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 0x435fdc
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 0x435ffb
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.0045ea7f
mov esp, ebp
pop ebp
ret 8