Function at 0x581440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xcc
mov eax, dword [0x624040]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
mov ebx, dword [esp + 0xd4]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
push edi
push 1
mov dword [esp + 0x24], esi
lea ecx, [esi + 0x10]
call fcn.00581b20
mov ecx, dword [esi + 0x14]
mov eax, dword [ebx]
sub ecx, 0x30
lea ebx, [esi + 4]
mov dword [esp + 0x18], ecx
mov dword [ecx], eax
mov word [ecx + 0x28], 0
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x581494
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 8]
sub ecx, eax
mov dword [esp + 0x14], 0xc
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xc
jae 0x5814c3
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.0057fd70
mov dword [esp + 0x78], 0
lea ebp, [esp + 0x78]
mov dword [esp + 0x7c], 0xf8000000
mov dword [esp + 0x80], 0x54a48e00
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x5685c180
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x58684680
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x5a497a00
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0x5c2aad80
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x5e0be100
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x5fee6600
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0x61cf9980
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0x63b0cd00
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x65920080
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0x67748580
mov dword [esp + 0xd4], 0
mov byte [esp + 0x24], 0
nop
mov eax, dword [ebp]
mov edi, dword [esi + 8]
mov esi, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x1c], eax
cmp esi, dword [ebx + 8]
je 0x5816b6
cmp edi, esi
jne 0x581660
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x10], 0x7b2
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x101
mov byte [esi + 0x1c], 0
mov dword [esi + 0x20], 0x7b2
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0x101
mov byte [esi + 0x2c], 0
add dword [ebx + 4], 0x30
jmp 0x5816c0
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.0057fed0
movups xmm0, xmmword [esi - 0x30]
mov eax, esi
sub eax, edi
movups xmmword [esi], xmm0
sub eax, 0x30
movups xmm0, xmmword [esi - 0x20]
push eax
push edi
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [esi - 0x10]
movups xmmword [esi + 0x20], xmm0
add dword [ebx + 4], 0x30
sub esi, eax
push esi
call fcn.00591d00
movups xmm0, xmmword [esp + 0x44]
add esp, 0x14
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [edi + 0x20], xmm0
jmp 0x5816c0
push edi
mov ecx, ebx
call fcn.0057fc60
mov edi, eax
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
push ecx
push eax
mov dword [edi], eax
lea eax, [esp + 0x34]
mov dword [edi + 4], ecx
mov ecx, esi
push eax
mov byte [edi + 8], 0
call fcn.00580980
mov ecx, eax
push 0xffffffffffffffff
push 0xffffffffffffffff
sub esp, 0x10
movups xmm0, xmmword [ecx]
mov eax, esp
push dword [esp + 0x3c]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
lea eax, [esp + 0x7c]
push eax
call fcn.00581bb0
add ebp, 8
add esp, 0x20
movups xmm0, xmmword [eax]
lea eax, [esp + 0xd8]
movups xmmword [edi + 0x20], xmm0
cmp ebp, eax
jne 0x5815d0
push dword [esp + 0x10]
lea eax, [esp + 0x64]
mov byte [esi + 0x1c], 0
push eax
call fcn.0057f610
mov edi, eax
lea ebp, [esi + 0x20]
add esp, 8
cmp ebp, edi
je 0x581770
mov ecx, ebp
call fcn.00407ac0
movups xmm0, xmmword [edi]
movups xmmword [ebp], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x5817a6
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58179c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58191d
push ecx
push edx
call fcn.0048335e
add esp, 8
push 0
push 1
mov ecx, ebp
call fcn.00418910
lea eax, [esi + 0x50]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x5817c3
mov eax, dword [eax]
push closesocket
push 0xffffffffffffffff
mov byte [eax], 0
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x78], 0x7b2
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x101
mov byte [esp + 0x84], 0
movups xmm0, xmmword [esp + 0x78]
mov byte [esp + 0x28], 0
push dword [esp + 0x28]
movups xmmword [eax], xmm0
lea eax, [esp + 0x7c]
mov byte [esi + 0x68], 0
push eax
call fcn.00581bb0
mov esi, dword [esp + 0x38]
mov ecx, eax
add esp, 0x20
mov byte [esp + 0x10], 0
mov eax, dword [esi]
movups xmm0, xmmword [ecx]
cdq
push edx
push eax
sub esp, 0x10
mov eax, esp
push dword [esp + 0x28]
movups xmmword [eax], xmm0
lea eax, [esp + 0x7c]
push eax
call fcn.00581bb0
add esp, 0x20
mov byte [esp + 0x10], 0
movups xmm0, xmmword [eax]
push closesocket
push 0
sub esp, 0x10
mov dword [esp + 0x78], 0x7b2
mov eax, esp
mov dword [esp + 0x7c], 0
movups xmmword [esi + 8], xmm0
mov dword [esp + 0x80], 0x101
push dword [esp + 0x28]
mov byte [esp + 0x88], 0
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [eax], xmm0
lea eax, [esp + 0x7c]
push eax
call fcn.00581bb0
mov ecx, eax
mov byte [esp + 0x30], 0
mov eax, dword [esi]
add esp, 0x20
cdq
movups xmm0, xmmword [ecx]
push edx
push eax
sub esp, 0x10
mov eax, esp
push dword [esp + 0x28]
movups xmmword [eax], xmm0
lea eax, [esp + 0x7c]
push eax
call fcn.00581bb0
add esp, 0x20
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x18], xmm0
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
je 0x581900
mov eax, dword [ebx]
cmp eax, ecx
jne 0x5818dd
mov ecx, ebx
call fcn.005800b0
jmp 0x581900
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call fcn.0057fd70
mov ecx, dword [esp + 0xd8]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004830fa
add esp, 0xcc
ret 4
call fcn.0059539e
int3