Function at 0x42f7d0
Capabilities:
Create directory
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x458990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.00432490
push 0x463df0
push 0xce
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0
call fcn.004324e0
test eax, eax
jne 0x42f83e
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004324d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea ebp, [esi + 8]
lea ecx, [esp + 0x18]
push ebp
call fcn.00432710
test eax, eax
jne 0x42f875
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004324d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [0x463058]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esi + 0xc]
cmp ecx, eax
mov byte [esp + 0x2c], 1
je 0x42f8d1
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x42f8aa
mov edx, dword [0x46305c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42f8b1
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42f8bf
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, edi
call fcn.00403e10
jmp 0x42f8d1
mov ecx, edi
call fcn.00403ed0
mov ebp, dword [ebp]
mov dword [edi], ebp
add ebp, 0xfffffff4
push ebp
call ebx
mov eax, dword [edi]
push str.liveupdatelog
push edi
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x42f97c
lea edx, [esp + 0x1c]
push edx
call fcn.0040d130
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x2c], 2
je 0x42f945
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x42f918
mov edx, dword [0x46305c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42f91f
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42f92f
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00403e10
jmp 0x42f945
lea ecx, [esp + 0x10]
call fcn.00403ed0
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
add ebp, 0xfffffff4
push ebp
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [0x46305c]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x2c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42fa0f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42fa0f
mov edx, dword [esp + 0x14]
jmp 0x42fa03
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040d130
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x2c], 3
je 0x42f9d9
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x42f9ac
mov edx, dword [0x46305c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42f9b3
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42f9c3
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00403e10
jmp 0x42f9d9
lea ecx, [esp + 0x10]
call fcn.00403ed0
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
add ebp, 0xfffffff4
push ebp
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [0x46305c]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x2c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42fa0f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42fa0f
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
mov eax, 0x463dd4
test eax, eax
je 0x42fa23
push 0x463dd4
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x463dd4
push eax
mov ecx, edi
call fcn.00407290
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, dword [edi]
push 0
push 1
push edi
call fcn.0042fbf0
test eax, eax
je 0x42fa56
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 4], eax
jne 0x42faae
mov eax, dword [esp + 0x10]
mov ecx, dword [0x46305c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42fa88
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42fa88
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004324d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Init
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.Login
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.Uninit
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.CreateP2SPTask
push eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.QueryTask
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.StartTask
push eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.StopTask
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.StopSeed
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push str.GetFinishMessage
push eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push str.RemoveTask
push eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push str.SetConfigInfo
push eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push str.UpdateRegInfo
push eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 4]
push str.SetP2spOption
push eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42fb92
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42fb92
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004324d0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret