Function at 0x10056460
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], 0x10058150
mov ecx, dword fs:[0]
mov dword [esi + 0x50], ecx
mov dword fs:[0], eax
test ebx, ebx
je 0x10056710
lea ecx, [ebx + 4]
mov eax, dword [ebx + 4]
mov dword [esi + 0x2c], ecx
call dword [eax + 0x20]
cmp dword [ebp + 0xc], 0
je 0x10056710
test eax, eax
je 0x10056710
mov ecx, dword [0x1029fb9c]
mov ecx, dword [ecx + 0xc0]
mov ecx, dword [ecx + ebx]
mov ecx, dword [ecx]
test ecx, ecx
je 0x10056710
mov dword [esi + 0x44], ecx
mov dword [esi + 0xc], eax
mov ebx, dword [edi + 0x304]
cmp ebx, dword [edi + 0x308]
je 0x1005653f
push 0x308c
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebx + 0xc], 0x3f800000
lea eax, [ebx + 0x10]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [ebx + 0x308c], xmm0
vmovups 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 0x1005654d
add edi, 0x300
mov ecx, edi
push ebx
call fcn.10057a00
mov ecx, dword [0x102a0008]
test cl, 1
je 0x10056723
test cl, 2
je 0x100567ad
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 [0x1029fbac]
bswap eax
mov edx, dword [0x1029fbb0]
add edx, eax
mov ecx, dword [0x1029fbb4]
ror edx, cl
vmovss xmm0, dword [edx]
vmovss dword [edi + 8], xmm0
movzx eax, bl
vcvtsi2ss xmm0, xmm1, eax
vmovss dword [edi + 0x10], xmm0
mov eax, dword [esi + 0x44]
mov dword [edi + 0x308c], eax
mov ecx, dword [0x1029fc50]
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 [0x1029fb9c]
mov eax, dword [eax + 0xbc]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + ebx]
mov dword [edi + 0x3084], eax
mov eax, dword [0x102a0004]
mov eax, dword [eax + ebx]
mov dword [edi + 0x307c], eax
mov eax, dword [0x102a000c]
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 [0x1029fb9c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + ebx + 8]
mov dword [edi + 0x3050], edx
vmovsd xmm0, qword [ecx + ebx]
vmovsd qword [edi + 0x3048], xmm0
mov eax, dword [eax + 0x208]
mov eax, dword [eax + ebx]
vmovss xmm0, dword [eax + 0x80]
lea eax, [edi + 0x3054]
mov dword [esi + 0xc], eax
vmovss 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 [0x1029fb9c]
lea ebx, [edi + 0x3014]
mov ecx, dword [esi + 0xc]
mov edx, ebx
call dword [eax + 0x34c]
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
vmovss xmm0, dword [ecx + edx]
vmovss dword [edi + 0x3020], xmm0
mov ecx, dword [eax + 0x2c]
vmovss xmm0, dword [ecx + edx + 4]
vmovss dword [edi + 0x3030], xmm0
mov eax, dword [eax + 0x2c]
vmovss xmm0, dword [eax + edx + 8]
vmovss 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 [0x102a0008], ecx
mov eax, 0x5f5af70a
mov ecx, 0xc859d361
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0x95e64950
mov ecx, 0x96348573
mov edx, 0xc34a867
mov edi, 0xc837ba0a
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
vmovaps xmm0, xmmword [esi + 0x10]
vxorps xmm0, xmm0, xmmword [eax]
vmovaps 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.10003680
add esp, 8
mov dword [0x102a0004], eax
mov ecx, dword [0x102a0008]
mov eax, dword [esi + 8]
test cl, 2
jne 0x10056565
mov dword [esi + 8], eax
or ecx, 2
mov dword [0x102a0008], ecx
mov eax, 0x4e5af70a
mov ecx, 0xc84ede65
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0x95e64950
mov ecx, 0x96348573
mov edx, 0xc34a867
mov edi, 0xc837ba0a
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
vmovaps xmm0, xmmword [esi + 0x10]
vxorps xmm0, xmm0, xmmword [eax]
vmovaps 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.10003680
add esp, 8
mov dword [0x102a000c], eax
mov eax, dword [esi + 8]
jmp 0x10056565