Function at 0x10054070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126890
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x100540a8
mov eax, dword [eax]
push eax
call fcn.10098b50
add esp, 4
mov esi, eax
call fcn.100088b0
mov ecx, eax
test esi, esi
jne 0x10054139
test ecx, ecx
je 0x100543f8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push str.ads_client_dec_fail
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.10016a90
test al, al
jne 0x100540f4
push 0x13
push str.ads_client_dec_fail
lea ecx, [ebp - 0x48]
call fcn.1000b940
mov esi, dword [ebp - 0x48]
push 0
push 0
push 1
push 0
push esi
mov dword [ebp - 4], 1
call fcn.10014870
mov ecx, eax
call fcn.1009cb70
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10054132
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x100543da
test ecx, ecx
je 0x10054402
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push 0x101308ac
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 2
call fcn.10016a90
test al, al
jne 0x10054173
push 0
push 0x101308ac
lea ecx, [ebp - 0x48]
call fcn.1000b940
push 3
push 0x10134fb8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10018b80
push 0xfde9
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.10098a20
add esp, 0x14
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x100541f1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100541e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005440c
push edx
push ecx
call fcn.100c459e
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x48]
or edi, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10054224
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c]
cmp dword [eax - 0xc], 0
jne 0x10054328
push 0x101308ac
lea ecx, [ebp - 0x44]
call fcn.100079a0
push 0xa
push str.selfad_url
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10018b80
push 0xfde9
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.10098a20
add esp, 0x14
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.10008310
mov edx, dword [ebp - 0x50]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100542ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.10007e60
mov edx, dword [ebp - 0x44]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100542d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c]
cmp dword [eax - 0xc], 0
jne 0x10054328
push str.ads_client_def_invalid
lea ecx, [ebp - 0x44]
call fcn.100079a0
push 0
push 0
push 1
push 0
push dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.10014870
mov ecx, eax
call fcn.1009cb70
mov edx, dword [ebp - 0x44]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10054321
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x100543b9
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10054411
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
push str.ads_client_try_def
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.10016a90
test al, al
jne 0x10054366
push 0x12
push str.ads_client_try_def
lea ecx, [ebp - 0x44]
call fcn.1000b940
mov esi, dword [ebp - 0x44]
push 0
push 0
push 1
push 0
push esi
mov byte [ebp - 4], 0xd
call fcn.10014870
mov ecx, eax
call fcn.1009cb70
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1005439d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push 0
push 0
push dword [ebp - 0x4c]
push str.open
push dword [ebx + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x100543d8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
call fcn.100e9c89
push 0x80004005
call fcn.10008520
int3