Function at 0x4082f0
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x43501c]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x60]
push esi
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00408af0
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x68]
xor edx, edx
xorps xmm0, xmm0
cmp dword [esp + 0x7c], 8
mov ecx, 0xf
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], edx
setae byte [esp + 0x17]
mov dword [esp + 0x34], ecx
mov byte [esp + 0x20], dl
jb 0x40835b
mov esi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x5c], edi
jmp 0x408367
lea eax, [esp + 0x68]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
lea eax, [edx + eax*2]
mov edx, 0
mov dword [esp + 0x18], eax
cmp dword [esp + 0x5c], eax
je 0x4083d9
mov edi, eax
mov al, byte [esi]
mov byte [esp + 0x5c], al
cmp edx, ecx
jae 0x4083ae
lea eax, [edx + 1]
cmp ecx, 0x10
mov cl, byte [esp + 0x5c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x4083c6
push dword [esp + 0x5c]
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0x24]
push dword [esp + 0x1c]
push 1
call fcn.0040dc80
mov ecx, dword [esp + 0x34]
add esi, 2
mov edx, dword [esp + 0x30]
cmp esi, edi
jne 0x408383
mov edi, dword [esp + 0x68]
test edx, edx
je 0x4083f9
cmp ecx, 0x10
lea eax, [esp + 0x20]
push edx
cmovae eax, dword [esp + 0x24]
mov ecx, 0x435bc0
push eax
call fcn.00409050
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
jb 0x40842b
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408421
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408633
push ecx
push edx
call fcn.00412728
add esp, 8
cmp byte [esp + 0x17], 0
je 0x408465
mov ecx, dword [esp + 0x7c]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40845b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408633
push ecx
push edi
call fcn.00412728
add esp, 8
call fcn.004075e0
mov eax, dword [0x4370e4]
mov esi, dword [esp + 0x1c]
push 0x64
push 0x437018
mov eax, dword [eax + 0x5c]
push 0x6d
push esi
call eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], 0x437018
mov dword [esp + 0x28], 0x408250
mov dword [esp + 0x24], 8
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x38], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 1
call fcn.00407450
test al, al
je 0x4084f6
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x4370e4]
mov eax, dword [eax + 0x58]
call eax
mov eax, dword [0x4370e4]
push 0
push esi
push 0
mov eax, dword [eax + 0x3c]
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x4370e8
push 0x437018
push 0
call eax
test eax, eax
jne 0x408540
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004126ea
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0x4372c4
push ecx
push 0x435a58
push 0x435b48
push ecx
push 0x435c38
push ecx
mov ecx, 0x435a40
call fcn.00405750
push 4
call fcn.004126f8
add esp, 0x24
lea ecx, [esp + 0x64]
mov dword [eax], 0x4082d0
push ecx
push 0
push eax
push 0x40c320
push 0
push 0
call fcn.004174cc
add esp, 0x18
mov dword [esp + 0x60], eax
test eax, eax
je 0x408624
push 0
push 0
push 0
lea eax, [esp + 0x8c]
push eax
mov eax, dword [0x4370e4]
mov eax, dword [eax + 0x4c]
call eax
test eax, eax
je 0x408600
nop dword [eax]
nop dword [eax + eax]
lea eax, [esp + 0x80]
push eax
mov eax, dword [0x4370e4]
mov eax, dword [eax + 0x50]
call eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [0x4370e4]
mov eax, dword [eax + 0x54]
call eax
push 0
push 0
push 0
lea eax, [esp + 0x8c]
push eax
mov eax, dword [0x4370e4]
mov eax, dword [eax + 0x4c]
call eax
test eax, eax
jne 0x4085c0
cmp dword [esp + 0x64], 0
jne 0x408638
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x88]
pop edi
pop esi
xor ecx, esp
call fcn.004126ea
mov esp, ebp
pop ebp
ret 0x10
push 6
mov dword [esp + 0x68], 0
call fcn.004118c1
call fcn.0041731f
call fcn.00417718
int3