Function at 0x4ca4d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e68cf
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x661204]
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 [0x66c2a8]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x4ca53b
push 0x260
call fcn.0054c396
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4ca52d
mov ecx, eax
call fcn.004ba430
jmp 0x4ca52f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x66c2a8], eax
push esi
mov ecx, eax
call fcn.004ba520
mov eax, dword [0x66c2a8]
test eax, eax
jne 0x4ca57e
push 0x260
call fcn.0054c396
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4ca570
mov ecx, eax
call fcn.004ba430
jmp 0x4ca572
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x66c2a8], eax
mov ecx, eax
call fcn.0049b5b0
mov edx, eax
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x4ca5a4
xor ecx, ecx
jmp 0x4ca5bf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ca5b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0049ee20
mov eax, dword [0x66c2a8]
mov dword [ebp - 4], 2
test eax, eax
jne 0x4ca605
push 0x260
call fcn.0054c396
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4ca5fa
mov ecx, eax
call fcn.004ba430
jmp 0x4ca5fc
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x66c2a8], eax
mov ecx, eax
call fcn.0049b5d0
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x4ca62b
xor ecx, ecx
jmp 0x4ca63f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ca630
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0049ee20
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push str.adintermaster
call fcn.004a5420
mov eax, dword [0x66c344]
lea esi, [ebp - 0x28]
add esp, 0xc
lea edi, [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
cmovae edi, dword [ebp - 0x40]
test eax, eax
jne 0x4ca6ba
push 4
call fcn.0054c396
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4ca6af
mov ecx, eax
call fcn.004b62c0
jmp 0x4ca6b1
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x66c344], eax
push esi
push edi
mov ecx, eax
call fcn.004b6910
mov eax, dword [0x66c5f0]
test eax, eax
jne 0x4ca6f8
push 0x94
call fcn.0054c396
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4ca6ed
mov ecx, eax
call fcn.004b2af0
jmp 0x4ca6ef
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x66c5f0], eax
push 1
mov ecx, eax
call fcn.004b3f10
lea eax, [ebp - 0x48]
push eax
push 0
push ebx
push 0x4ca270
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x41]
call fcn.004cac80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x5eed28
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x41]
push eax
mov byte [ebp - 4], 7
call fcn.004b0790
lea ecx, [ebp - 0x41]
call fcn.0049a7c0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4ca759
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049ef70
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x4ca782
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0049ef70
mov eax, 1
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.0054c3c9
mov esp, ebp
pop ebp
ret 4