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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
lea eax, [esi + 0x50]
mov dword [esi + 0x54], 0x1005e150
mov ecx, dword fs:[0]
mov dword [esi + 0x50], ecx
mov dword fs:[0], eax
test ebx, ebx
je 0x1005c760
lea ecx, [ebx + 4]
mov eax, dword [ebx + 4]
mov dword [esi + 0x2c], ecx
call dword [eax + 0x20]
cmp dword [ebp + 0xc], 0
je 0x1005c760
test eax, eax
je 0x1005c760
mov ecx, dword [0x102a22ac]
mov ecx, dword [ecx + 0xc0]
mov ecx, dword [ecx + ebx]
mov ecx, dword [ecx]
test ecx, ecx
je 0x1005c760
mov dword [esi + 0x44], ecx
mov dword [esi + 0xc], eax
mov ebx, dword [edi + 0x304]
cmp ebx, dword [edi + 0x308]
je 0x1005c58c
push 0x308c
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebx + 0xc], 0x3f800000
lea eax, [ebx + 0x10]
xorps xmm0, xmm0
movups xmmword [ebx + 0x308c], xmm0
movups xmmword [ebx + 0x3098], xmm0
push 0x3050
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x304]
lea ecx, [eax + 0x30a8]
mov dword [edi + 0x304], ecx
jmp 0x1005c59a
add edi, 0x300
mov ecx, edi
push ebx
call fcn.1005da00
mov ecx, dword [0x102a27a8]
test cl, 1
je 0x1005c773
test cl, 2
je 0x1005c7fa
movzx ebx, byte [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [eax + 0x3044], edi
lea ecx, [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 8]
mov edx, dword [edx + 0x28]
mov dword [esi + 0x58], 0xffffffff
mov edi, eax
call edx
mov dword [edi], eax
mov eax, dword [0x102a22bc]
bswap eax
mov edx, dword [0x102a22c0]
add edx, eax
mov ecx, dword [0x102a22c4]
ror edx, cl
movss xmm0, dword [edx]
movss dword [edi + 8], xmm0
movzx eax, bl
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [edi + 0x10], xmm0
mov eax, dword [esi + 0x44]
mov dword [edi + 0x308c], eax
mov ecx, dword [0x102a2398]
mov ebx, dword [esi + 0xc]
movzx eax, word [ebx + 0x138]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov dword [edi + 0x3090], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x3094], eax
mov dword [edi + 0x30a0], 0
mov dword [edi + 0x3060], eax
mov dword [edi + 0x3064], ebx
mov eax, dword [0x102a22ac]
mov eax, dword [eax + 0xbc]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + ebx]
mov dword [edi + 0x3084], eax
mov eax, dword [0x102a27a4]
mov eax, dword [eax + ebx]
mov dword [edi + 0x307c], eax
mov eax, dword [0x102a27ac]
mov eax, dword [eax + ebx]
mov dword [edi + 0x3080], eax
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
call dword [eax + 0x28]
mov dword [edi + 0x3078], eax
mov eax, dword [0x102a22ac]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + ebx + 8]
mov dword [edi + 0x3050], edx
movsd xmm0, qword [ecx + ebx]
movsd qword [edi + 0x3048], xmm0
mov eax, dword [eax + 0x208]
mov eax, dword [eax + ebx]
movss xmm0, dword [eax + 0x80]
lea eax, [edi + 0x3054]
mov dword [esi + 0xc], eax
movss dword [edi + 0x3058], xmm0
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x2c]
call dword [eax + pe_nt_image_headers32]
mov word [edi + 0x3088], ax
mov dword [edi + 0x3074], 1
lea eax, [edi + 0x14]
mov ecx, dword [ebx + 0x290c]
shl ecx, 4
lea ecx, [ecx + ecx*2]
push ecx
push dword [ebp + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [0x102a22ac]
lea ebx, [edi + 0x3014]
mov ecx, dword [esi + 0xc]
mov edx, ebx
call dword [eax + 0x34c]
mov eax, dword [0x102a22ac]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
movss xmm0, dword [ecx + edx]
movss dword [edi + 0x3020], xmm0
mov ecx, dword [eax + 0x2c]
movss xmm0, dword [ecx + edx + 4]
movss dword [edi + 0x3030], xmm0
mov eax, dword [eax + 0x2c]
movss xmm0, dword [eax + edx + 8]
movss dword [edi + 0x3040], xmm0
mov dword [edi + 0x3098], ebx
mov dword [edi + 0x3068], ebx
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov dword [esi + 8], eax
or ecx, 1
mov dword [0x102a27a8], ecx
mov eax, 0x45735e9a
mov ecx, 0x8b3c8eb9
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0xe21a6ab0
mov ecx, 0xf9e31d73
mov edx, 0x161d01f7
mov edi, 0x8b52e7d2
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
lea eax, [esi + 0x30]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
mov dword [esi + 0x58], 0
call eax
lea ecx, [esi + 0x10]
push ecx
push eax
call fcn.10003b20
add esp, 8
mov dword [0x102a27a4], eax
mov ecx, dword [0x102a27a8]
mov eax, dword [esi + 8]
test cl, 2
jne 0x1005c5b2
mov dword [esi + 8], eax
or ecx, 2
mov dword [0x102a27a8], ecx
mov eax, 0x54735e9a
mov ecx, 0x8b2b83bd
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0xe21a6ab0
mov ecx, 0xf9e31d73
mov edx, 0x161d01f7
mov edi, 0x8b52e7d2
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
lea eax, [esi + 0x30]
xor ecx, ecx
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
mov dword [esi + 0x58], 1
call eax
lea ecx, [esi + 0x10]
push ecx
push eax
call fcn.10003b20
add esp, 8
mov dword [0x102a27ac], eax
mov eax, dword [esi + 8]
jmp 0x1005c5b2