Function at 0x414c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x74], eax
mov ebx, ecx
mov dword [ebp - 0x70], ebx
and dword [ebp - 0x1c], 0xfffffe00
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x5c], eax
mov eax, dword [0x530ce4]
mov dword [ebp - 0x58], 0
test al, 1
jne 0x414d02
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
add esp, 4
mov ecx, dword [0x52d374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0044aa00
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00449f60
mov byte [ebp - 4], 3
mov al, byte [ebx + 8]
test al, al
je 0x414d66
cmp al, 7
je 0x414d66
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b708c
add esp, 0xc
cmp byte [ebx + 8], 0
je 0x4151e4
mov dword [ebp - 0x5c], str.callbackId
mov dword [ebp - 0x58], 0
mov edi, dword [ebx]
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.0044b6a0
mov ecx, dword [edi]
cmp eax, ecx
je 0x414dd1
mov esi, dword [eax + 0x10]
mov edx, str.callbackId
lea esp, [esp]
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x414dc0
test bl, bl
je 0x414dbc
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x414dc0
add edx, 2
add esi, 2
test bl, bl
jne 0x414da0
xor edx, edx
jmp 0x414dc5
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x4c], eax
test dl, dl
je 0x414dd4
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x4c]
mov eax, dword [eax]
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x4151e4
add eax, 0x18
cmp eax, 0x530a10
je 0x4151e4
push reloc.kernel32.dll_GetUserDefaultLangID
call fcn.004b45a0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x50], ebx
test ebx, ebx
je 0x414e1a
mov byte [ebx + 8], 0
and dword [ebx + 8], 0xfffffeff
mov dword [ebx + 0xc], 0
jmp 0x414e21
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 3
mov edi, dword [0x530408]
lea ecx, [edi + 1]
lea eax, [edi + 2]
imul eax, ecx
imul eax, edi
cdq
mov ecx, reloc.kernel32.dll_GetDiskFreeSpaceA
idiv ecx
cmp edx, 5
jne 0x414e97
mov eax, edi
cdq
sub eax, edx
lea esi, [ecx + 0x4d]
xor ecx, ecx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x54], ebx
test ebx, ebx
jle 0x414e8f
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
lea ebx, [ebx]
test edi, edi
jle 0x414e81
mov eax, edx
mov ecx, edi
add esi, eax
dec eax
dec ecx
jne 0x414e78
mov ecx, dword [ebp - 0x4c]
add edx, ecx
dec ebx
jne 0x414e70
mov ebx, dword [ebp - 0x54]
mov edi, dword [0x530408]
inc ecx
mov dword [ebp - 0x4c], ecx
cmp ecx, esi
jl 0x414e58
mov ebx, dword [ebp - 0x50]
push dword [ebp - 0x70]
mov ecx, ebx
call fcn.0044a020
lea eax, [ebp - 0x28]
push eax
push 0
push ebx
push reloc.kernel32.dll_GetLocaleInfoA
push 0
push 0
mov dword [ebp - 0x28], 0
call fcn.004b59cd
add esp, 0x18
test eax, eax
jne 0x415168
test ebx, ebx
je 0x414edf
mov ecx, ebx
call fcn.00449f60
push ebx
call fcn.004b458c
add esp, 4
mov dword [ebp - 0x4c], 0
call fcn.004b5927
mov edx, dword [eax]
lea ecx, [ebp - 0x70]
call fcn.00431d20
push eax
mov edx, str.readFile_beginthreadex_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], reloc.kernel32.dll_GetDiskFreeSpaceA
call fcn.00426d80
add esp, 4
mov byte [ebp - 4], reloc.kernel32.dll_OpenSemaphoreW
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x414f2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov eax, str.readFi1e
mov byte [ebp - 4], reloc.kernel32.dll_SetConsoleCursorPosition
test eax, 0xffff0000
jne 0x414f6a
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x414f79
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00404a70
jmp 0x414f79
push 8
push str.readFi1e
lea ecx, [ebp - 0x50]
call fcn.004046b0
mov byte [ebp - 4], reloc.kernel32.dll_GetConsoleOutputCP
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x78], esi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], reloc.kernel32.dll_OpenEventW
call fcn.00431c80
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], reloc.kernel32.dll_SetCurrentDirectoryA
mov edx, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [edx + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov eax, str.GlobalLog
mov byte [ebp - 4], reloc.kernel32.dll_IsProcessInJob
test eax, 0xffff0000
jne 0x414feb
movzx ebx, ax
mov ecx, ebx
call fcn.00405530
test eax, eax
je 0x414ffa
push ebx
push eax
lea ecx, [ebp - 0x54]
call fcn.00404a70
jmp 0x414ffa
push 9
push str.GlobalLog
lea ecx, [ebp - 0x54]
call fcn.004046b0
push 2
mov byte [ebp - 4], reloc.kernel32.dll_CreateDirectoryW
push dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x530768
call fcn.004018b0
mov byte [ebp - 4], reloc.kernel32.dll_SetCurrentDirectoryA
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415035
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_OpenEventW
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415055
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0xfffffff0
mov byte [ebp - 4], reloc.kernel32.dll_GetConsoleOutputCP
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415072
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_OpenSemaphoreW
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415092
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x90]
call fcn.00431ab0
mov esi, eax
mov byte [ebp - 4], reloc.kernel32.dll_GetSystemPowerStatus
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x530ce4]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0
test al, 1
jne 0x4150e7
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x4150f2
mov esi, dword [esi]
mov ecx, dword [0x52d374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [ebp - 0x64], eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], reloc.kernel32.dll_QueryDosDeviceW
call fcn.0044aa00
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], reloc.kernel32.dll_GetSystemPowerStatus
call fcn.00449f60
cmp dword [ebp - 0x7c], 0x10
jb 0x41513f
push dword [ebp - 0x90]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41555a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x41555a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [0x530408]
mov eax, ebx
imul eax, ebx
imul eax, ebx
cdq
mov ecx, reloc.kernel32.dll_AssignProcessToJobObject
idiv ecx
cmp edx, 0xa
jne 0x415550
mov eax, ebx
cdq
lea esi, [ecx + 0x30]
xor ecx, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
test eax, eax
jle 0x4151d7
mov eax, ebx
mov ebx, dword [ebp - 0x4c]
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
test edi, edi
jle 0x4151c9
mov eax, edx
mov ecx, edi
lea ecx, [ecx]
add esi, eax
dec eax
dec ecx
jne 0x4151c0
mov ecx, dword [ebp - 0x50]
add edx, ecx
dec ebx
jne 0x4151b5
mov ebx, dword [0x530408]
mov eax, dword [ebp - 0x4c]
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, esi
jl 0x4151a0
jmp 0x415550
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov eax, str.readFile_callbackId_not_exist
mov byte [ebp - 4], 5
test eax, 0xffff0000
jne 0x415221
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x415230
push esi
push eax
lea ecx, [ebp - 0x54]
call fcn.00404a70
jmp 0x415230
push reloc.kernel32.dll_lstrcpynW
push str.readFile_callbackId_not_exist
lea ecx, [ebp - 0x54]
call fcn.004046b0
mov byte [ebp - 4], 6
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov eax, str.re_dFile
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x415271
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x415280
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00404a70
jmp 0x415280
push 8
push str.re_dFile
lea ecx, [ebp - 0x50]
call fcn.004046b0
mov byte [ebp - 4], 8
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.00431c80
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 0xa
mov edx, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [edx + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov eax, str.GlobalLog
mov byte [ebp - 4], reloc.kernel32.dll_ConvertDefaultLocale
test eax, 0xffff0000
jne 0x4152f1
movzx edi, ax
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x415300
push edi
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404a70
jmp 0x415300
push 9
push str.GlobalLog
lea ecx, [ebp - 0x4c]
call fcn.004046b0
push 2
push ebx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x530768
mov byte [ebp - 4], reloc.kernel32.dll_AssignProcessToJobObject
call fcn.004018b0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41533c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41535c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415379
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415399
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x90]
call fcn.00431ab0
mov esi, eax
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingW
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x530ce4]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0
test al, 1
jne 0x4153ee
or eax, 1
push 0x4e04e0
mov dword [0x530ce4], eax
mov dword [0x530c68], 0x518430
call fcn.004b4d59
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x4153f9
mov esi, dword [esi]
mov ecx, dword [0x52d374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
mov dword [ebp - 0x64], eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], reloc.kernel32.dll_ReleaseActCtx
call fcn.0044aa00
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.0044a020
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], reloc.kernel32.dll_CreateFileMappingW
call fcn.00449f60
cmp dword [ebp - 0x7c], 0x10
jb 0x415446
push dword [ebp - 0x90]
call fcn.004b458c
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41555a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
jmp 0x41555a
or edi, 0xffffffff
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], 0x5149b4
mov dword [ebp - 0x30], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], reloc.kernel32.dll_CreateNamedPipeA
mov ecx, dword [0x530408]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, reloc.kernel32.dll_SetConsoleCursorPosition
idiv ecx
cmp edx, 7
jne 0x41559e
call fcn.004b597b
mov dword [0x530408], eax
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c], esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], reloc.kernel32.dll_SetDllDirectoryA
call fcn.0044cc00
mov edx, eax
mov byte [ebp - 4], reloc.kernel32.dll_GetComputerNameExA
cmp dword [edx + 0x14], 0x10
jb 0x4155d6
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x4155f5
xor ecx, ecx
jmp 0x41560a
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x68], eax
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415600
sub ecx, dword [ebp - 0x68]
push ecx
push edx
mov ecx, ebx
call fcn.004012e0
lea ecx, [ebp - 0x6c]
call fcn.004319e0
add esp, 0x18
mov byte [ebp - 4], reloc.kernel32.dll_WakeConditionVariable
mov edx, dword [eax]
lea eax, [esi - 0x10]
lea ebx, [edx - 0x10]
mov dword [ebp - 0x58], eax
cmp ebx, eax
je 0x4156d9
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
mov dword [ebp - 0x68], ecx
jl 0x4156ca
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x4156ca
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_GetUserDefaultLangID]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x41566c
cmp ecx, dword [ebx]
jne 0x41566c
mov esi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4156a9
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x415680
call fcn.0040c710
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004b52be
add esp, 0x10
mov ecx, dword [ebp - 0x68]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4156c2
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
add esi, 0x10
mov dword [ebp - 0x4c], esi
jmp 0x4156d9
push dword [edx - 0xc]
lea ecx, [ebp - 0x4c]
push edx
call fcn.004046b0
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], reloc.kernel32.dll_GetComputerNameExA
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4156f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], reloc.kernel32.dll_SetDllDirectoryA
cmp dword [ebp - 0x7c], 0x10
jb 0x415711
push dword [ebp - 0x90]
call fcn.004b458c
add esp, 4
mov ebx, dword [ebp - 0x74]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41572f
call fcn.0040c710
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], reloc.kernel32.dll_CreateNamedPipeA
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41574d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x48], 0x5149b4
jb 0x415765
push dword [ebp - 0x44]
call fcn.004b458c
add esp, 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], reloc.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0x5185e8
mov dword [ebp - 4], 0xffffffff
call fcn.00449f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b4591
mov esp, ebp
pop ebp
ret