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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov ebp, dword [esp + 0x6c]
cmp ebp, 2
jae 0x537f48
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x64]
lea eax, [esp + 0x60]
jne 0x537fbd
mov esi, dword [edx]
mov edi, dword [eax]
sub esp, 0x18
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
movsd xmm0, qword [edi]
movsd qword [esp + 0xc], xmm0
mov eax, dword [esi - 4]
mov dword [esp + 8], eax
movsd xmm0, qword [esi - 0xc]
movsd qword [esp], xmm0
call fcn.005381c0
test al, al
je 0x537f40
add esi, 0xfffffff4
mov eax, dword [edi + 8]
mov dword [esp + 0x28], eax
movsd xmm0, qword [edi]
movsd qword [esp + 0x20], xmm0
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [esi]
movsd qword [edi], xmm0
mov eax, dword [esp + 0x28]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x20]
movsd qword [esi], xmm0
jmp 0x537f40
cmp ebp, 0x80
jg 0x537fe5
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [edx]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x1c]
push ecx
push eax
push edx
call fcn.00538340
add esp, 0x58
jmp 0x537f43
mov ebx, dword [esp + 0x70]
mov esi, ebp
shr esi, 1
mov edi, dword [eax]
lea eax, [esi + esi*2]
mov dword [esp + 8], eax
lea edx, [edi + eax*4]
mov eax, ebp
sub eax, esi
mov dword [esp], eax
cmp ebp, dword [esp + 0x74]
jle 0x538084
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
push dword [esp + 0x74]
push ebx
push esi
push ecx
push edx
push edi
mov ebp, edx
mov dword [esp + 0x1c], edx
call fcn.00537f30
add esp, 0x18
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x64]
mov ebp, dword [eax]
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x14]
push dword [esp + 0x74]
push ebx
push dword [esp + 8]
push dword [esp + 0x74]
push ebp
push eax
call fcn.00537f30
add esp, 0x18
mov dword [esp + 0x10], edi
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push dword [esp + 0x74]
push ebx
push dword [esp + 8]
push esi
push dword [esp + 0x78]
push ebp
push ecx
push eax
call fcn.00538810
add esp, 0x6c
jmp 0x537f43
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edx
push ebx
push esi
push ecx
push edx
push edi
mov esi, edx
call fcn.005385e0
add esp, 0x14
mov dword [esp + 0x18], esi
lea eax, [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
lea esi, [ebx + ecx*4]
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 4]
push dword [esp + 0x70]
push eax
push ecx
call fcn.005385e0
mov edx, esi
add esp, 0x14
lea eax, [ebp*2]
add eax, ebp
lea esi, [ebx + eax*4]
mov ebp, edx
mov dword [esp], esi
jmp 0x538101
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [ebx]
movsd qword [edi], xmm0
add ebx, 0xc
mov edx, esi
add edi, 0xc
cmp ebx, esi
mov esi, dword [esp]
je 0x538184
cmp ebp, esi
je 0x538150
mov esi, edx
sub esp, 0x18
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
movsd xmm0, qword [ebx]
movsd qword [esp + 0xc], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
movsd xmm0, qword [ebp]
movsd qword [esp], xmm0
mov ecx, dword [esp + 0x80]
call fcn.005381c0
test al, al
je 0x5380e0
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp]
movsd qword [edi], xmm0
add ebp, 0xc
jmp 0x5380f1
cmp ebx, edx
je 0x537f40
xor eax, eax
nop word [eax + eax]
mov ecx, dword [ebx + eax + 8]
mov dword [edi + eax + 8], ecx
movsd xmm0, qword [ebx + eax]
movsd qword [edi + eax], xmm0
lea ecx, [ebx + eax]
add ecx, 0xc
add eax, 0xc
cmp ecx, edx
jne 0x538160
jmp 0x537f40
cmp ebp, esi
je 0x537f40
xor eax, eax
nop
mov ecx, dword [ebp + eax + 8]
mov dword [edi + eax + 8], ecx
movsd xmm0, qword [ebp + eax]
movsd qword [edi + eax], xmm0
lea ecx, [eax + ebp]
add ecx, 0xc
add eax, 0xc
cmp ecx, esi
jne 0x538190
jmp 0x537f40