Function at 0x4ada20
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4f62da
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0xf8], 0
mov edi, dword [esp + 0x2c0]
mov ebp, dword [esp + 0x2c4]
je 0x4ae005
lea ecx, [esp + 0x24]
call fcn.004ae090
mov eax, dword [esp + 0x2bc]
mov dword [esp + 0x2b4], 0
push 0x68
mov byte [esp + 0x284], al
call fcn.004df9b3
mov esi, eax
add esp, 4
test esi, esi
jne 0x4adabd
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esp + 0x284], esi
push 0x68
push 0
push esi
mov byte [esp + 0x2c0], 1
call fcn.004e3fe0
add esp, 0xc
mov ecx, esi
call fcn.004ae1f0
mov esi, eax
mov byte [esp + 0x2b4], 0
mov dword [esp + 0x278], esi
test esi, esi
je 0x4adafb
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [esp + 0x274]
test ecx, ecx
je 0x4adb0c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x278]
mov dword [esp + 0x274], esi
lea ecx, [ecx + 0x20]
call fcn.004ddc80
mov eax, dword [esp + 0x278]
lea ecx, [esp + 0x4c]
xorps xmm0, xmm0
mov dword [esp + 0x29c], 0
mov edx, 0x1774
movq qword [esp + 0x294], xmm0
mov dword [eax + 0x5c], ecx
lea ecx, [esp + 0x294]
call fcn.004a1ed0
mov byte [esp + 0x2b4], 2
lea ecx, [esp + 0x288]
xorps xmm0, xmm0
mov dword [esp + 0x290], 0
push 0x504578
movq qword [esp + 0x28c], xmm0
call fcn.00412700
mov byte [esp + 0x2b4], 3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4adba0
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x254], eax
lea ecx, [esp + 0x258]
lea eax, [esp + 0x288]
push eax
call fcn.004128e0
push 0x20
lea edx, [esp + 0x298]
lea ecx, [esp + 0x1c]
call fcn.0041cd20
push eax
lea ecx, [esp + 0x268]
mov byte [esp + 0x2b8], 4
call fcn.004128e0
mov byte [esp + 0x2b4], 3
push dword [esp + 0x18]
call fcn.004df97b
add esp, 4
cmp dword [ebx + 0xd8], 0
je 0x4adc32
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ebx + 0xd4]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [esp + 0x278]
mov cl, byte [edx + 0x7c]
mov byte [eax + 0x44], cl
lea eax, [edx + 0x80]
mov ecx, dword [esp + 0x278]
push eax
lea ecx, [ecx + 0x38]
call fcn.004128e0
mov esi, dword [ebx + 0xf8]
test esi, esi
je 0x4adc42
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4adc50
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], esi
call fcn.004128e0
mov esi, dword [ebp + 4]
lea ecx, [esp + 0x34]
call fcn.00410ab0
push esi
lea ecx, [esp + 0x38]
call fcn.0041ec00
xor esi, esi
cmp dword [ebp + 4], esi
jbe 0x4adcf1
jmp 0x4adc80
mov eax, dword [ebp]
push 0xc
mov edi, dword [eax + esi*4]
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x4adcdd
mov dword [esp + 0x284], eax
mov byte [esp + 0x2b4], 5
xorps xmm0, xmm0
movq qword [eax], xmm0
mov ecx, eax
push edi
mov dword [eax + 8], 0
call fcn.00412780
mov byte [esp + 0x2b4], 3
inc esi
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [ecx + edx*4], eax
mov edi, dword [esp + 0x38]
inc edi
mov dword [esp + 0x38], edi
cmp esi, dword [ebp + 4]
jb 0x4adc80
jmp 0x4adcf5
push 0x51c2c8
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
call fcn.004ea58e
mov edi, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x44], edx
cmp edi, dword [esp + 0x48]
jbe 0x4add5f
push dword [esp + 0x40]
call fcn.004df97b
xor ecx, ecx
mov dword [esp + 0x44], 0
add esp, 4
mov dword [esp + 0x48], 0
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4add4f
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x40], eax
xor esi, esi
test edi, edi
je 0x4add85
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
inc esi
mov ecx, dword [eax]
mov eax, dword [esp + 0x40]
mov dword [eax + edx*4], ecx
mov edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
cmp esi, dword [esp + 0x38]
jb 0x4add65
mov dword [esp + 0x284], 0
lea eax, [esp + 0x2a0]
mov byte [esp + 0x2b4], 6
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push 0x4ada10
push 0
push 0
call fcn.004e02a8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [esp + 0x284], eax
test eax, eax
jne 0x4adec3
call esi
test eax, eax
mov ebp, 1
cmovne ebp, eax
test ebp, ebp
je 0x4adec3
mov byte [esp + 0x2b4], 2
push dword [esp + 0x288]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2b4], 0
push dword [esp + 0x294]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x2b4], 0xb
mov ecx, dword [esp + 0x274]
test ecx, ecx
je 0x4ade2b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2b4], 0xa
call fcn.004c8e00
mov byte [esp + 0x2b4], 9
push dword [esp + 0x40]
call fcn.004df97b
mov byte [esp + 0x2b8], 8
add esp, 4
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4ade83
mov eax, dword [esp + 0x34]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x4ade7f
push dword [edi]
call fcn.004df97b
add esp, 4
push edi
call fcn.004df97b
add esp, 4
test esi, esi
jne 0x4ade60
push dword [esp + 0x34]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2b4], 7
push dword [esp + 0x28]
call fcn.004df97b
mov dword [esp + 0x2b8], 0xffffffff
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4adebc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebp
jmp 0x4ae05e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4aded3
mov eax, dword [ebx + 0x38]
push eax
lea eax, [esp + 0x288]
push eax
lea eax, [esp + 0x29c]
push eax
lea ecx, [esp + 0x58]
call fcn.004cab90
mov ebp, dword [esp + 0x27c]
mov byte [esp + 0x2b4], 3
mov eax, dword [esp + 0x284]
test eax, eax
je 0x4adf14
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4adf14
call esi
mov byte [esp + 0x2b4], 2
push dword [esp + 0x288]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2b4], 0
push dword [esp + 0x294]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x2b4], 0x10
mov ecx, dword [esp + 0x274]
test ecx, ecx
je 0x4adf5e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2b4], 0xf
call fcn.004c8e00
mov byte [esp + 0x2b4], 0xe
push dword [esp + 0x40]
call fcn.004df97b
mov byte [esp + 0x2b8], 0xd
add esp, 4
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4adfb6
mov eax, dword [esp + 0x34]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x4adfb2
push dword [edi]
call fcn.004df97b
add esp, 4
push edi
call fcn.004df97b
add esp, 4
test esi, esi
jne 0x4adf93
push dword [esp + 0x34]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2b4], 0xc
push dword [esp + 0x28]
call fcn.004df97b
mov dword [esp + 0x2b8], 0xffffffff
add esp, 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4adfef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp ebp, 0x80004002
je 0x4ae005
mov ecx, dword [ebx + 0x3c]
push 1
mov edx, dword [ecx]
call dword [edx + 0x20]
mov eax, ebp
jmp 0x4ae05e
xorps xmm0, xmm0
mov dword [esp + 0x290], 0
mov edx, 0x1778
movq qword [esp + 0x288], xmm0
lea ecx, [esp + 0x288]
call fcn.004a1ed0
mov esi, dword [esp + 0x288]
push 0x10
push 0x502ee0
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
mov dword [esp + 0x2b8], 0xffffffff
call fcn.004df97b
add esp, 4
mov eax, 0x80004004
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004df96c
add esp, 0x2a4
ret 0x14