Function at 0x43f050
Capabilities:
Accept command line arguments
Access peb ldr_data
Create thread
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45abe0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0040df40
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x40], 1
call fcn.00428e70
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f0db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov ecx, dword [esp + 0x24]
jne 0x43f0eb
xor edi, edi
jmp 0x43f0f2
mov edi, ecx
sub edi, eax
sar edi, 2
mov esi, 1
cmp edi, esi
jbe 0x43f13c
jmp 0x43f100
cmp eax, ebx
je 0x43f10d
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x43f116
call fcn.00441e46
mov eax, dword [esp + 0x20]
mov eax, dword [eax + esi*4]
push 4
push str._ldd
push eax
call fcn.00442be3
add esp, 0xc
test eax, eax
je 0x43f199
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esi, 1
cmp esi, edi
jb 0x43f100
cmp eax, ebx
mov dword [esp + 0x38], 0xffffffff
je 0x43f182
cmp eax, ecx
mov edi, ecx
mov esi, eax
je 0x43f179
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f16e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x43f150
mov eax, dword [esp + 0x20]
push eax
call fcn.004415cb
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], ebx
je 0x43f1d6
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x43f182
mov edi, dword [esp + 0x24]
call fcn.004299d0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004415cb
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x18]
push edx
push ebx
push esi
push 0x43ecb0
push ebx
push ebx
mov dword [esi], eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x43f236
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x43f182
mov edi, dword [esp + 0x24]
call fcn.004299d0
mov eax, dword [esp + 0x20]
push eax
call fcn.004415cb
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x43f266
mov edi, dword [esp + 0x24]
call fcn.004299d0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004415cb
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4