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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x3f8
mov esi, esp
mov dword [esi + 0x3e0], ebp
mov dword [esi + 0x3e4], esp
mov dword [esi + 0x3f0], 0xffffffff
mov dword [esi + 0x3ec], 0x1005c120
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x1f0]
mov eax, dword fs:[0]
mov dword [esi + 0x3e8], eax
lea eax, [esi + 0x3e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
movsd xmm0, qword [eax + 0x10]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [ebp + 0x10]
movsd qword [esi + 0x2e0], xmm0
movsd qword [esi + 0x2d8], xmm1
movsd qword [esi + 0x2d0], xmm2
push 0xe0
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x1f0]
xor eax, 3
or eax, dword [esi + 0x1f4]
je 0x1005b035
lea eax, [esi + 0x230]
mov byte [esi + 0xa], 1
mov dword [esi + 0x3f0], 0
lea ecx, [esi + 0xe0]
push eax
push ecx
call fcn.10097410
add esp, 8
xor eax, eax
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x1f0]
cmp eax, dword [esi + 0xe0]
jno 0x1005b05a
push 0xf8
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x3e8]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0xe8]
movsd xmm0, qword [esi + 0xe0]
movsd xmm1, qword [esi + 0xec]
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0xf4]
movsd qword [esi + 0xc0], xmm0
movsd qword [esi + 0xd0], xmm1
mov dword [esi + 0xd8], eax
lea eax, [esi + 0x2e8]
push 0xf8
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0xd0]
mov byte [esi + 9], 1
mov dword [esi + 0x3f0], 1
lea ecx, [esi + 0xc0]
lea edx, [esi + 0xac]
push eax
push ecx
push edx
call fcn.1006bc50
add esp, 0xc
lea edi, [esi + 0xf8]
push 0xf8
lea ebx, [esi + 0x2e8]
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0xfc]
xor eax, 3
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], eax
or eax, ecx
jne 0x1005b153
push 0xf8
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0xac]
mov edi, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb0]
lea edx, [esi + 0xb8]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x3f0], 2
push edi
push ecx
push edx
call eax
mov ebx, dword [ebp + 8]
add esp, 0xc
jmp 0x1005b044
movsd xmm0, qword [esi + 0xac]
movsd xmm1, qword [esi + 0xb4]
movzx eax, word [esi + 0xbd]
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov dword [esi + 0x3f0], 4
movsd qword [esi + 0x30], xmm1
movsd qword [esi + 0x28], xmm0
mov word [esi + 0x39], ax
movzx eax, byte [esi + 0xbf]
mov byte [esi + 0x3b], al
mov byte [esi + 0x38], 1
push edi
call fcn.1008e1e0
add esp, 4
test al, al
jne 0x1005b6dc
lea eax, [esi + 0x14]
mov byte [esi + 7], 1
mov byte [esi + 8], 1
push eax
lea eax, [esi + 0xf8]
push eax
call fcn.1008d350
add esp, 8
mov dword [esi + 0x24], eax
movzx eax, word [esi + 0x130]
mov ebx, dword [ebp + 8]
mov dword [esi + 0xc], 0
and ax, word [esi + 0x24]
movzx edi, ax
jmp 0x1005b214
movzx ecx, byte [ecx + 4]
cmp cl, byte [esi + 0x18]
je 0x1005b2f8
nop word [eax + eax]
inc dword [esi + 0xc]
inc edi
cmp edi, dword [esi + 0x114]
jb 0x1005b236
mov eax, dword [esi + 0x114]
nop word cs:[eax + eax]
nop dword [eax]
test eax, eax
je 0x1005b230
xor edi, edi
mov eax, dword [esi + 0x110]
mov dword [esi + 0x10], edi
movzx ecx, word [eax + edi*4]
cmp ecx, 0xffff
je 0x1005b3fb
mov dword [esi + 0x3c], ecx
movzx ecx, word [esi + 0x130]
movzx eax, word [eax + edi*4 + 2]
mov edx, ecx
and edx, eax
sub edi, edx
and edi, ecx
cmp edi, dword [esi + 0xc]
jb 0x1005b530
cmp ax, word [esi + 0x24]
mov edi, dword [esi + 0x10]
jne 0x1005b210
mov eax, dword [esi + 0x120]
mov edx, dword [esi + 0x3c]
cmp eax, edx
mov dword [esi + 0x74], eax
jbe 0x1005b6b4
mov ecx, dword [esi + 0x11c]
imul eax, edx, 0x34
mov edx, dword [ecx + eax + 0x20]
test edx, edx
setne bl
cmp dword [esi + 0x14], 0
sete bh
cmp bl, bh
mov ebx, dword [ebp + 8]
je 0x1005b210
lea ecx, [ecx + eax + 0x20]
test edx, edx
mov dword [esi + 0xa8], eax
je 0x1005b1fd
lea eax, [esi + 0x14]
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov dword [esi + 0x3f0], 4
push eax
push ecx
call fcn.101863a0
add esp, 8
mov ebx, dword [ebp + 8]
mov edi, dword [esi + 0x10]
test al, al
je 0x1005b210
mov eax, dword [esi + 0x120]
mov dword [esi + 0x74], eax
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x74]
cmp eax, edx
jbe 0x1005b7e2
mov ecx, dword [esi + 0x11c]
mov eax, dword [esi + 0xa8]
test byte [ecx + eax], 1
lea edi, [ecx + eax]
mov dword [esi + 0x10], edi
je 0x1005b5d2
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x12c]
mov ecx, dword [esi + 0x38]
movsd xmm0, qword [esi + 0x28]
movsd xmm1, qword [esi + 0x30]
mov eax, dword [eax + 8]
cmp edi, dword [esi + 0x124]
mov dword [esi + 0x60], ecx
movsd qword [esi + 0x58], xmm1
movsd qword [esi + 0x50], xmm0
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x4c], edx
jne 0x1005b389
lea eax, [esi + 0x124]
mov dword [esi + 0x3f0], 7
push eax
mov dword [esi + 0x3c], edi
call fcn.100508c0
mov edi, dword [esi + 0x3c]
mov ebx, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x128]
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd xmm2, qword [esi + 0x50]
movsd xmm3, qword [esi + 0x58]
mov edx, dword [esi + 0x60]
lea ecx, [edi + edi*8]
mov dword [eax + ecx*4 + 0x20], edx
movsd qword [eax + ecx*4 + 0x18], xmm3
movsd qword [eax + ecx*4 + 0x10], xmm2
movsd qword [eax + ecx*4 + 8], xmm1
movsd qword [eax + ecx*4], xmm0
mov ecx, dword [esi + 0xc]
lea eax, [edi + 1]
mov dword [esi + 0x12c], eax
cmp ecx, eax
jae 0x1005b805
mov eax, dword [esi + 0x128]
lea ecx, [ecx + ecx*8]
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edi
mov eax, dword [esi + 0x10]
mov dword [eax], 1
jmp 0x1005b680
movsd xmm0, qword [esi + 0x14]
mov ecx, dword [esi + 0x120]
movsd xmm1, qword [esi + 0x1c]
mov eax, dword [esi + 0x38]
movsd xmm2, qword [esi + 0x30]
movsd qword [esi + 0x78], xmm0
movsd xmm0, qword [esi + 0x28]
cmp ecx, 0x7fff
movsd qword [esi + 0x80], xmm1
mov dword [esi + 0x98], eax
movsd qword [esi + 0x90], xmm2
mov dword [esi + 0xc], ecx
movsd qword [esi + 0x88], xmm0
ja 0x1005b72c
movsd xmm0, qword [esi + 0x14]
movsd xmm1, qword [esi + 0x1c]
mov eax, dword [esi + 0x38]
cmp ecx, dword [esi + 0x118]
movsd xmm2, qword [esi + 0x28]
movsd qword [esi + 0x68], xmm1
movsd qword [esi + 0x60], xmm0
movsd xmm1, qword [esi + 0x30]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x24]
movsd qword [esi + 0x4c], xmm2
movsd qword [esi + 0x54], xmm1
mov word [esi + 0x70], ax
mov dword [esi + 0x40], 0
jne 0x1005b4ad
lea eax, [esi + 0x118]
mov dword [esi + 0x3f0], 6
push eax
call fcn.100506b0
mov edi, dword [esi + 0x10]
mov ebx, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x11c]
imul ecx, dword [esi + 0xc], 0x34
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd xmm2, qword [esi + 0x50]
movsd xmm3, qword [esi + 0x58]
movsd xmm4, qword [esi + 0x60]
movsd xmm5, qword [esi + 0x68]
mov edx, dword [esi + 0x70]
mov dword [eax + ecx + 0x30], edx
movsd qword [eax + ecx + 0x28], xmm5
movsd qword [eax + ecx + 0x20], xmm4
movsd qword [eax + ecx + 0x18], xmm3
movsd qword [eax + ecx + 0x10], xmm2
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x114]
cmp edi, eax
jae 0x1005b7bf
mov eax, dword [esi + 0x110]
mov word [eax + edi*4], cx
mov ecx, dword [esi + 0x24]
mov word [eax + edi*4 + 2], cx
jmp 0x1005b5c1
cmp dword [esi + 0xc], 0x200
mov ecx, dword [esi + 0xf8]
movsd xmm0, qword [esi + 0x14]
movsd xmm1, qword [esi + 0x1c]
mov byte [esi + 7], 0
mov byte [esi + 8], 0
mov dword [esi + 0x3f0], 4
lea edi, [esi + 0x40]
lea edx, [esi + 0x88]
setae al
xor ecx, 2
movsd qword [esi + 0x90], xmm1
movsd qword [esi + 0x88], xmm0
movsd xmm0, qword [esi + 0x28]
movsd xmm1, qword [esi + 0x30]
or ecx, dword [esi + 0xfc]
movsd qword [esi + 0x48], xmm1
movsd qword [esi + 0x40], xmm0
setne cl
and cl, al
mov eax, dword [esi + 0x38]
mov dword [esi + 0x50], eax
movzx eax, cl
lea ecx, [esi + 0xf8]
push eax
push dword [esi + 0x10]
push dword [esi + 0x24]
push edi
call fcn.10055290
add esp, 0x10
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x1005b796
push 0xf8
lea eax, [esi + 0xf8]
push eax
jmp 0x1005b03b
mov eax, dword [esi + 0x12c]
mov ecx, dword [esi + 0x38]
movsd xmm0, qword [esi + 0x28]
movsd xmm1, qword [esi + 0x30]
cmp eax, dword [esi + 0x124]
mov dword [esi + 0x60], ecx
movsd qword [esi + 0x58], xmm1
movsd qword [esi + 0x50], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], edx
mov dword [esi + 0xc], eax
jne 0x1005b62d
lea eax, [esi + 0x124]
mov dword [esi + 0x3f0], 8
push eax
call fcn.100508c0
mov ebx, dword [ebp + 8]
add esp, 4
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x128]
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd xmm2, qword [esi + 0x50]
movsd xmm3, qword [esi + 0x58]
mov edx, dword [esi + 0x60]
lea ecx, [edi + edi*8]
mov dword [eax + ecx*4 + 0x20], edx
movsd qword [eax + ecx*4 + 0x18], xmm3
movsd qword [eax + ecx*4 + 0x10], xmm2
movsd qword [eax + ecx*4 + 8], xmm1
movsd qword [eax + ecx*4], xmm0
lea eax, [edi + 1]
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x10]
mov dword [eax], 1
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1005b5c1
mov edi, dword [esi + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x20]
mov dword [esi + 0x3f0], 2
push edi
push edx
push ecx
call eax
mov ebx, dword [ebp + 8]
add esp, 0xc
jmp 0x1005b5c1
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov dword [esi + 0x3f0], 4
push 0x101d795c
push dword [esi + 0x74]
push edx
call fcn.101cc694
add esp, 0xc
jmp 0x1005b826
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
lea edx, [esi + 0x34]
mov eax, dword [eax + 0x10]
mov byte [esi + 0xb], 1
mov dword [esi + 0x3f0], 3
push edi
push ecx
push edx
call eax
add esp, 0xc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1005b796
mov edi, dword [esi + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x20]
mov dword [esi + 0x3f0], 2
push edi
push edx
push ecx
call eax
add esp, 0xc
jmp 0x1005b796
mov eax, dword [esi + 0x88]
mov edi, dword [esi + 0x90]
mov ecx, dword [esi + 0x8c]
lea edx, [esi + 0x94]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x3f0], 5
push edi
push ecx
push edx
call eax
add esp, 0xc
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1005b78c
mov edi, dword [esi + 0x80]
mov eax, dword [eax + 0x10]
mov edx, dword [esi + 0x7c]
lea ecx, [esi + 0x84]
mov byte [esi + 7], 0
mov byte [esi + 8], 0
mov dword [esi + 0x3f0], 4
push edi
push edx
push ecx
call eax
add esp, 0xc
mov dword [esi + 0x3f0], 2
mov dword [esi + 0x3f0], 2
lea eax, [esi + 0x40]
push 0x101d859c
push 0x101d788c
push eax
push 0x17
push 0x101d7d02
call fcn.101cc840
add esp, 0x14
jmp 0x1005b826
mov byte [esi + 7], 0
mov byte [esi + 8], 0
mov dword [esi + 0x3f0], 4
push 0x101d797c
push eax
push edi
call fcn.101cc694
add esp, 0xc
jmp 0x1005b826
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov dword [esi + 0x3f0], 4
push 0x101d796c
push eax
push edx
call fcn.101cc694
add esp, 0xc
jmp 0x1005b826
mov byte [esi + 7], 1
mov byte [esi + 8], 0
mov dword [esi + 0x3f0], 4
push 0x101d794c
push eax
push ecx
call fcn.101cc694
add esp, 0xc
ud2