Function at 0x413fa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c536f
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x51eee0]
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 ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x108], ebx
call fcn.00442860
push str.success
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
call fcn.00442820
lea eax, [ebp - 0x118]
push eax
push 0x4d968c
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00442d00
mov ecx, eax
call fcn.00442b10
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.00442a70
push str.callbackId
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00443e00
test al, al
jne 0x4140f2
push str.execFile_callbackId_not_exist
lea ecx, [ebp - 0xfc]
call fcn.00401ff0
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.0044ef60
add esp, 8
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call fcn.00442780
push 0x4d968c
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 5
call fcn.00442d00
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.00442b10
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call fcn.00442a70
cmp dword [ebp - 0x18], 0x10
jb 0x4140c3
push dword [ebp - 0x2c]
call fcn.004a5bbe
add esp, 4
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4140e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x414308
push 0x10
call fcn.004a5bed
mov esi, eax
add esp, 4
mov dword [ebp - 0x104], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x414117
push 0
mov ecx, esi
call fcn.00442860
jmp 0x414119
xor esi, esi
push edi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00442b10
lea eax, [ebp - 0x100]
push eax
push 0
push esi
push 0x4197a0
push 0
push 0
mov dword [ebp - 0x100], 0
call fcn.004a7e9c
add esp, 0x18
test eax, eax
jne 0x41423e
test esi, esi
je 0x414166
mov ecx, esi
call fcn.00442a70
push esi
call fcn.004a5bbe
add esp, 4
call fcn.004a76e6
push dword [eax]
lea eax, [ebp - 0x104]
push eax
call fcn.0043e100
add esp, 8
push eax
lea eax, [ebp - 0xfc]
push str.execFile_beginthreadex_
push eax
mov byte [ebp - 4], 7
call fcn.0040b800
add esp, 0xc
mov edx, dword [ebp - 0x104]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 9
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4141bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044ef60
add esp, 8
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xa
call fcn.00442780
push 0x4d968c
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0xb
call fcn.00442d00
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.00442b10
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xa
call fcn.00442a70
cmp dword [ebp - 0x18], 0x10
jb 0x414220
push dword [ebp - 0x2c]
call fcn.004a5bbe
add esp, 4
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x4140df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x520340]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 0xb
jne 0x414301
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x414301
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004449b0
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
mov byte [ebp - 4], 0x10
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.004478c0
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x12
jb 0x41434f
mov edx, dword [edx]
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x41436e
xor ecx, ecx
jmp 0x41437c
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414373
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00401460
lea eax, [ebp - 0x108]
push eax
call fcn.0044ee90
add esp, 0x1c
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x13
call fcn.00402af0
mov edx, dword [ebp - 0x108]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4143c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x11
jb 0x4143dd
push dword [ebp - 0x2c]
call fcn.004a5bbe
add esp, 4
mov esi, dword [ebp - 0xfc]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4143fe
call fcn.0040c2e0
mov dword [ebx + 8], eax
mov ebx, dword [0x520340]
mov eax, ebx
imul eax, ebx
imul eax, ebx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x41441b
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 6
jne 0x41449c
mov eax, ebx
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
mov edi, 0x95
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x104], eax
lea ebx, [ebx]
test eax, eax
jle 0x414491
mov eax, ebx
cdq
and edx, 3
lea ebx, [edx + eax]
mov eax, dword [ebp - 0x104]
sar ebx, 2
xor edx, edx
mov dword [ebp - 0xfc], eax
mov edi, edi
test ebx, ebx
jle 0x41447a
mov eax, edx
mov ecx, ebx
add edi, eax
dec eax
dec ecx
jne 0x414468
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x100]
add edx, ecx
dec eax
mov dword [ebp - 0xfc], eax
jne 0x414460
mov eax, dword [ebp - 0x104]
mov ebx, dword [0x520340]
inc ecx
mov dword [ebp - 0x100], ecx
cmp ecx, edi
jl 0x414440
add esi, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4144ba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x4c], 0x4d9684
jb 0x4144d6
push dword [ebp - 0x48]
call fcn.004a5bbe
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00444ab0
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00442a70
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.004a63c4
mov esp, ebp
pop ebp
ret