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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6ae3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x7ad930]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
je 0x504830
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x58], 0
lea esi, [ecx + 0x24]
mov ecx, esi
call fcn.0044de10
cmp edi, ebx
jge 0x5046fe
cmp dword [esi + 0x14], 0
je 0x504648
cmp byte [esi + 0x18], 0
jne 0x504648
mov ecx, esi
call int.0044dfa0
mov eax, dword [esi]
mov ecx, dword [eax + edi*4]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x14], 0
je 0x504664
cmp byte [esi + 0x18], 0
jne 0x504664
mov ecx, esi
call int.0044dfa0
mov eax, dword [esi]
add eax, 4
lea ebx, [edi*4]
add eax, ebx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x14], eax
je 0x50468d
cmp byte [esi + 0x18], 0
jne 0x50468d
mov ecx, esi
call int.0044dfa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ebx + ecx], eax
cmp dword [esi + 0x14], 0
mov eax, dword [esp + 0x10]
movq xmm0, qword [eax + 0x78]
movq qword [esp + 0x1c], xmm0
movq xmm0, qword [eax + 0x80]
movq qword [esp + 0x24], xmm0
je 0x5046c4
cmp byte [esi + 0x18], 0
jne 0x5046c4
mov ecx, esi
call int.0044dfa0
mov eax, dword [esi]
lea edx, [esp + 0x1c]
mov eax, dword [eax + ebx]
add eax, 0x78
push eax
mov ecx, edx
call fcn.004e5f10
add esp, 4
test al, al
je 0x5046ed
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.004e6970
mov ebx, dword [ebp + 0xc]
inc edi
cmp edi, ebx
jl 0x504651
jmp 0x5047ca
cmp dword [esi + 0x14], 0
je 0x504711
cmp byte [esi + 0x18], 0
jne 0x504711
mov ecx, esi
call int.0044dfa0
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x10], eax
cmp edi, ebx
jle 0x5047ca
cmp dword [esi + 0x14], 0
je 0x504735
cmp byte [esi + 0x18], 0
jne 0x504735
mov ecx, esi
call int.0044dfa0
mov eax, dword [esi]
add eax, 0xfffffffc
lea ebx, [edi*4]
add eax, ebx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x14], eax
je 0x50475e
cmp byte [esi + 0x18], 0
jne 0x50475e
mov ecx, esi
call int.0044dfa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ebx + ecx], eax
cmp dword [esi + 0x14], 0
mov eax, dword [esp + 0x10]
movq xmm0, qword [eax + 0x78]
movq qword [esp + 0x1c], xmm0
movq xmm0, qword [eax + 0x80]
movq qword [esp + 0x24], xmm0
je 0x504795
cmp byte [esi + 0x18], 0
jne 0x504795
mov ecx, esi
call int.0044dfa0
mov eax, dword [esi]
lea edx, [esp + 0x1c]
mov eax, dword [eax + ebx]
add eax, 0x78
push eax
mov ecx, edx
call fcn.004e5f10
add esp, 4
test al, al
je 0x5047be
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.004e6970
mov ebx, dword [ebp + 0xc]
dec edi
cmp edi, ebx
jg 0x504722
cmp dword [esi + 0x14], 0
je 0x5047dd
cmp byte [esi + 0x18], 0
jne 0x5047dd
mov ecx, esi
call int.0044dfa0
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [eax + ebx*4], ecx
mov ebx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.0050e2f0
mov eax, dword [ebx + 0x1c]
mov byte [ebx + 0x6c], 0
mov byte [ebx + 0x5c], 0
test eax, eax
je 0x50480b
mov byte [eax + 0x38], 0
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x34], 0
je 0x504830
mov ecx, dword [esp + 0x2c]
mov edi, edi
mov esi, dword [ecx + 0x14]
call fcn.004e61e0
mov ecx, esi
cmp esi, dword [esp + 0x2c]
jne 0x504820
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8