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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2c8
mov esi, esp
mov dword [esi + 0x2b0], ebp
mov dword [esi + 0x2b4], esp
mov dword [esi + 0x2c0], 0xffffffff
mov dword [esi + 0x2bc], 0x1004b5f0
mov edx, dword [ebp + 0xc]
call 0x1004a479
pop eax
mov ecx, dword fs:[0]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x2b8]
mov dword [esi + 0x2b8], ecx
mov dword fs:[0], eax
mov dword [esi + 0x2c0], 0
lea ecx, [esi + 0x60]
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push 0x4b
mov dword [esi + 0x14], eax
push eax
push 0x20
push ecx
call fcn.1004c550
add esp, 0x1c
cmp dword [esi + 0x60], 4
je 0x1004ae22
lea ecx, [esi + 0x188]
push 0x128
lea eax, [esi + 0x60]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x14]
xor edx, edx
xor ecx, ecx
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 8
mov dword [esi + 0x254], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x250], eax
jmp 0x1004a569
mov eax, dword [esi + 0x38]
movsd xmm0, qword [esi + 0x58]
lea ecx, [edx + edx*4]
inc edx
movsd qword [eax + ecx*8 + 0x18], xmm0
movsd xmm0, qword [esi + 0x50]
movsd qword [eax + ecx*8 + 0x10], xmm0
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov word [eax + ecx*8 + 0x20], di
mov edi, dword [esi + 0x10]
mov dword [eax + ecx*8 + 0x22], edi
mov byte [eax + ecx*8 + 0x26], bl
mov byte [eax + ecx*8 + 0x27], bh
mov ecx, dword [esi]
movzx eax, bl
mov dword [esi + 0x3c], edx
add ecx, eax
cmp ecx, 4
ja 0x1004a634
mov eax, dword [esi + 0x274]
cmp eax, dword [esi + 0x278]
je 0x1004a634
lea eax, [esi + 0x60]
mov dword [esi], ecx
mov byte [esi + 0x1b], 1
mov dword [esi + 0x2c0], 5
push eax
lea eax, [esi + 0x188]
push eax
call fcn.1004c980
add esp, 8
movzx edi, word [esi + 0x80]
cmp edi, 0x1348
je 0x1004a631
test di, di
je 0x1004a7b0
movsd xmm1, qword [esi + 0x70]
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x82]
movsd xmm0, qword [esi + 0x78]
movsd xmm2, qword [esi + 0x60]
movzx ebx, byte [esi + 0x86]
mov bh, byte [esi + 0x87]
movsd qword [esi + 0x50], xmm1
movsd xmm1, qword [esi + 0x68]
cmp edx, dword [esi + 0x34]
mov dword [esi + 0x10], eax
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x40], xmm2
movsd qword [esi + 0x48], xmm1
jne 0x1004a510
lea eax, [esi + 0x34]
mov byte [esi + 0x1b], 1
push eax
mov dword [esi + 4], edx
mov dword [esi + 8], edi
mov byte [esi + 0x30], bl
mov byte [esi + 0x2c], bh
call fcn.1004b8c0
mov bh, byte [esi + 0x2c]
mov bl, byte [esi + 0x30]
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
add esp, 4
jmp 0x1004a510
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x274]
mov dword [esi + 4], edx
mov edx, dword [esi + 0x38]
mov dword [esi], eax
mov eax, dword [esi + 0x248]
mov edi, ecx
mov dword [esi + 0x10], edx
sub edi, eax
cmp edi, 0x4c
jae 0x1004ae5b
mov dword [esi + 0x30], eax
cmp ecx, eax
mov eax, dword [esi + 0x14]
mov ebx, 1
mov dword [esi + 0x2c], ecx
je 0x1004a68c
movzx eax, byte [0x10180e99]
push 1
push edi
call fcn.100218a0
add esp, 8
test eax, eax
je 0x1004ae77
mov ebx, eax
mov eax, dword [esi + 0x14]
push edi
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi], 0x80000000
jne 0x1004a6ad
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 4]
jmp 0x1004a7d5
mov dword [esi + 0x28], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x1c], edi
mov edi, dword [ebx + 0x1c]
movzx eax, byte [0x10180e99]
push 1
push 0x64
call fcn.100218a0
add esp, 8
test eax, eax
je 0x1004ae8e
mov ecx, dword [ebx]
mov edx, dword [esi + 0xc]
xorps xmm0, xmm0
mov dword [esi + 8], eax
movsd qword [eax + 0x5c], xmm0
movsd qword [eax + 0x54], xmm0
movsd qword [eax + 0x4c], xmm0
movsd qword [eax + 0x44], xmm0
movsd qword [eax + 0x3c], xmm0
movsd qword [eax + 0x34], xmm0
movsd qword [eax + 0x2c], xmm0
movsd qword [eax + 0x24], xmm0
movsd qword [eax + 0x1c], xmm0
movsd qword [eax + 0x14], xmm0
movsd qword [eax + 0xc], xmm0
movsd qword [eax + 4], xmm0
mov dword [eax], 0xec8b9c60
add edx, dword [ecx*4 + 0x1004b064]
jmp edx
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1004a7cb
shl eax, 3
lea eax, [eax + eax*4]
push 8
push eax
push dword [esi + 0x38]
call fcn.100218b0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov edx, 9
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax], 0x80000000
jmp 0x1004ad1f
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1004ad57
mov ecx, dword [ecx + 0x14]
mov dword [esi + 0x2c0], 8
mov dword [esi + 0x10], eax
push eax
mov dword [esi], ecx
call dword [ecx]
add esp, 4
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 4]
test eax, eax
je 0x1004ad57
push dword [edx + 8]
push eax
push ecx
call fcn.100218b0
add esp, 0xc
mov eax, dword [esi + 0x2b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x6c]
movsd xmm0, qword [esi + 0x64]
mov dword [esi + 0x2c0], 7
mov dword [esi + 0x48], eax
movsd qword [esi + 0x40], xmm0
lea eax, [esi + 0x40]
push 0x10121420
push 0x10121318
push eax
push 0x2b
push 0x101212ec
call fcn.10114160
add esp, 0x14
jmp 0x1004aea4
mov dword [esi + 0x2c0], 6
push 0x1012148c
push 0x4b
push edi
call fcn.101141f0
add esp, 0xc
jmp 0x1004aea4
mov dword [esi + 0x2c0], 6
push edi
push 1
call fcn.10113ca0
add esp, 8
jmp 0x1004aea4
mov dword [esi + 0x2c0], 3
push 0x64
push 1
call fcn.10113cc0
add esp, 8
ud2