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

Disassembly:
push 0xffffffffffffffff
push 0x44b380
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.00423100
push 0x456200
push 0xce
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0
call fcn.00423150
test eax, eax
jne 0x41c40e
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423140
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.00423380
test eax, eax
jne 0x41c445
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423140
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 [0x455050]
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 0x41c4a1
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41c47a
mov edx, dword [0x455054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41c481
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41c48f
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, edi
call fcn.00404a30
jmp 0x41c4a1
mov ecx, edi
call fcn.00401880
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 0x41c54c
lea edx, [esp + 0x1c]
push edx
call fcn.004018f0
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x2c], 2
je 0x41c515
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41c4e8
mov edx, dword [0x455054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41c4ef
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41c4ff
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00404a30
jmp 0x41c515
lea ecx, [esp + 0x10]
call fcn.00401880
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
add ebp, 0xfffffff4
push ebp
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [0x455054]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x2c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c5df
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41c5df
mov edx, dword [esp + 0x14]
jmp 0x41c5d3
lea ecx, [esp + 0x1c]
push ecx
call fcn.004018f0
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x2c], 3
je 0x41c5a9
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41c57c
mov edx, dword [0x455054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41c583
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41c593
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00404a30
jmp 0x41c5a9
lea ecx, [esp + 0x10]
call fcn.00401880
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
add ebp, 0xfffffff4
push ebp
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [0x455054]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x2c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c5df
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41c5df
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0042ac06
add esp, 4
mov eax, 0x4561e4
test eax, eax
je 0x41c5f3
push 0x4561e4
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4561e4
push eax
mov ecx, edi
call fcn.0040aa60
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, dword [edi]
push edi
call fcn.0041c7c0
add esp, 4
test eax, eax
je 0x41c624
push edi
call fcn.00436020
test eax, eax
mov dword [esi + 4], eax
jne 0x41c67c
mov eax, dword [esp + 0x10]
mov ecx, dword [0x455054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41c656
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41c656
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042ac06
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423140
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 [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c760
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41c760
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0042ac06
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423140
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