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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
cmp eax, dword [edi]
je 0x50c0a6
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov bl, 1
dec eax
cmp eax, 6
ja case.default.0x50c06f
jmp dword [eax*4 + 0x53a5c8]
lea ecx, [esi + 8]
push 0x254
call fcn.00455e50
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, ebx
cmp ecx, 0x2cc
jb 0x50c0a2
test byte [ebx + 2], 1
jne 0x50c9a7
xor ebx, ebx
jmp case.default.0x50c06f
mov dword [esi], 0
mov bl, 1
mov eax, ebx
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [esi + 8]
push 0x208
call fcn.00455e50
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov edx, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, edx
cmp ecx, 0x210
jb 0x50c0a2
test byte [edx + 3], 8
je 0x50c0a2
movsd xmm0, qword [edx + 8]
movsd qword [eax], xmm0
mov eax, dword [esi + 4]
add eax, 8
lea ecx, [edx + 0x10]
push 0xf8
push ecx
push eax
mov edi, edx
call fcn.00491320
add esp, 0xc
mov eax, 0x100
mov ecx, dword [esi + 4]
add ecx, eax
lea edx, [edi + 0x108]
push eax
push edx
push ecx
call fcn.00491320
add esp, 0xc
mov eax, dword [edi + 0x208]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x200], eax
jmp case.default.0x50c06f
lea ecx, [esi + 8]
push 0x240
call fcn.00455e50
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, eax
cmp ecx, 0x258
jb 0x50c0a2
xor ebx, ebx
test byte [eax + 2], 4
je case.default.0x50c06f
movsd xmm0, qword [eax + ebx*8 + 8]
mov ecx, dword [esi + 4]
movsd qword [ecx + ebx*8], xmm0
inc ebx
cmp ebx, 0x20
jne 0x50c160
mov ecx, dword [eax + 0x108]
mov edx, dword [esi + 4]
mov dword [edx + 0x104], ecx
mov ecx, dword [eax + 0x110]
mov edx, dword [esi + 4]
mov dword [edx + 0x100], ecx
mov ecx, dword [eax + 0x130]
mov edx, dword [esi + 4]
mov dword [edx + 0x130], ecx
mov ecx, dword [eax + 0x118]
mov edx, dword [esi + 4]
mov dword [edx + 0x118], ecx
mov ecx, dword [eax + 0x124]
mov edx, dword [esi + 4]
mov dword [edx + 0x124], ecx
mov ecx, dword [eax + 0x11c]
mov edx, dword [esi + 4]
mov dword [edx + 0x11c], ecx
mov ecx, dword [eax + 0x128]
mov edx, dword [esi + 4]
mov dword [edx + 0x128], ecx
mov ecx, dword [eax + 0x120]
mov edx, dword [esi + 4]
mov dword [edx + 0x120], ecx
mov ecx, dword [eax + 0x12c]
mov edx, dword [esi + 4]
mov dword [edx + 0x12c], ecx
mov ecx, dword [eax + 0x138]
mov edx, dword [esi + 4]
mov dword [edx + 0x108], ecx
mov ecx, dword [eax + 0x140]
mov edx, dword [esi + 4]
mov dword [edx + 0x10c], ecx
mov ecx, dword [eax + 0x148]
mov edx, dword [esi + 4]
mov dword [edx + 0x110], ecx
mov ecx, dword [eax + 0x14c]
mov edx, dword [esi + 4]
mov dword [edx + 0x114], ecx
mov ecx, dword [eax + 0x250]
mov edx, dword [esi + 4]
mov dword [edx + 0x238], ecx
mov ecx, dword [eax + 0x254]
mov edx, dword [esi + 4]
mov dword [edx + 0x23c], ecx
mov ecx, 0x138
add ecx, dword [esi + 4]
add eax, 0x150
mov edx, 0x100
push edx
push eax
push ecx
call fcn.00491320
add esp, 0xc
jmp 0x50c0ac
lea ecx, [esi + 8]
push 0x278
call fcn.00455e50
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, eax
cmp ecx, 0x280
jb 0x50c0a2
xor ebx, ebx
test byte [eax + 2], 8
je case.default.0x50c06f
movsd xmm0, qword [eax + ebx*8 + 8]
mov ecx, dword [esi + 4]
movsd qword [ecx + ebx*8], xmm0
inc ebx
cmp ebx, 0x20
jne 0x50c2a9
movsd xmm0, qword [eax + 0x108]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x108], xmm0
movsd xmm0, qword [eax + 0x110]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x100], xmm0
movsd xmm0, qword [eax + 0x148]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x160], xmm0
movsd xmm0, qword [eax + 0x118]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x130], xmm0
movsd xmm0, qword [eax + 0x130]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x148], xmm0
movsd xmm0, qword [eax + 0x120]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x138], xmm0
movsd xmm0, qword [eax + 0x138]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x150], xmm0
movsd xmm0, qword [eax + 0x128]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x140], xmm0
movsd xmm0, qword [eax + 0x140]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x158], xmm0
movsd xmm0, qword [eax + 0x150]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x110], xmm0
movsd xmm0, qword [eax + 0x158]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x118], xmm0
movsd xmm0, qword [eax + 0x160]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x120], xmm0
movsd xmm0, qword [eax + 0x168]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x128], xmm0
movsd xmm0, qword [eax + 0x270]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x268], xmm0
movsd xmm0, qword [eax + 0x278]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x270], xmm0
mov ecx, 0x168
add ecx, dword [esi + 4]
add eax, 0x170
jmp 0x50c262
lea ecx, [esi + 8]
push 0x1c8
call fcn.00455e50
mov ecx, dword [esi + 8]
mov dword [esi + 4], ecx
mov eax, dword [edi]
mov edx, dword [edi + 4]
sub edx, eax
cmp edx, 0x170
jb 0x50c0a2
xor ebx, ebx
test byte [eax + 3], 0x40
je case.default.0x50c06f
mov edx, dword [eax + 4]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov edx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [esi + 4]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x10]
mov edx, dword [esi + 4]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x14]
mov edx, dword [esi + 4]
mov dword [edx + 0x10], ecx
mov ecx, dword [eax + 0x18]
mov edx, dword [esi + 4]
mov dword [edx + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov edx, dword [esi + 4]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x20]
mov edx, dword [esi + 4]
mov dword [edx + 0x1c], ecx
mov ecx, dword [eax + 0x24]
mov edx, dword [esi + 4]
mov dword [edx + 0x20], ecx
mov ecx, dword [eax + 0x28]
mov edx, dword [esi + 4]
mov dword [edx + 0x24], ecx
mov ecx, dword [eax + 0x2c]
mov edx, dword [esi + 4]
mov dword [edx + 0x28], ecx
mov ecx, dword [eax + 0x30]
mov edx, dword [esi + 4]
mov dword [edx + 0x2c], ecx
mov ecx, dword [eax + 0x34]
mov edx, dword [esi + 4]
mov dword [edx + 0x30], ecx
mov ecx, dword [eax + 0x38]
mov edx, dword [esi + 4]
mov dword [edx + 0x34], ecx
mov ecx, dword [eax + 0x3c]
mov edx, dword [esi + 4]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x40]
mov edx, dword [esi + 4]
mov dword [edx + 0x3c], ecx
mov ecx, dword [eax + 0x44]
mov edx, dword [esi + 4]
mov dword [edx + 0x40], ecx
mov ecx, dword [eax + 0x48]
mov edx, dword [esi + 4]
mov dword [edx + 0x1b8], ecx
movsd xmm0, qword [eax + ebx*8 + 0x50]
mov ecx, dword [esi + 4]
movsd qword [ecx + ebx*8 + 0xb8], xmm0
inc ebx
cmp ebx, 0x20
jne 0x50c4bf
mov ecx, dword [esi + 4]
mov byte [ecx + 0x1c0], 0
test dword [eax], 0x40000004
mov eax, dword [esi + 4]
setne byte [eax + 0x1c1]
jmp 0x50c0ac
lea ecx, [esi + 8]
push 0x318
call fcn.00455e50
mov ecx, dword [esi + 8]
mov dword [esi + 4], ecx
mov eax, dword [edi]
mov edx, dword [edi + 4]
sub edx, eax
cmp edx, 0x390
jb 0x50c0a2
xor ebx, ebx
test byte [eax + 2], 0x40
je case.default.0x50c06f
movsd xmm0, qword [eax + 8]
movsd qword [ecx], xmm0
movsd xmm0, qword [eax + 0x10]
mov ecx, dword [esi + 4]
movsd qword [ecx + 8], xmm0
movsd xmm0, qword [eax + 0x18]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax + 0x20]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x18], xmm0
movsd xmm0, qword [eax + 0x28]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x20], xmm0
movsd xmm0, qword [eax + 0x30]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x28], xmm0
movsd xmm0, qword [eax + 0x38]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x30], xmm0
movsd xmm0, qword [eax + 0x40]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x38], xmm0
movsd xmm0, qword [eax + 0x48]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x40], xmm0
movsd xmm0, qword [eax + 0x50]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x48], xmm0
movsd xmm0, qword [eax + 0x58]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x50], xmm0
movsd xmm0, qword [eax + 0x60]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x58], xmm0
movsd xmm0, qword [eax + 0x68]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x60], xmm0
movsd xmm0, qword [eax + 0x70]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x68], xmm0
movsd xmm0, qword [eax + 0x78]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x70], xmm0
movsd xmm0, qword [eax + 0x80]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x78], xmm0
movsd xmm0, qword [eax + 0x88]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x80], xmm0
movsd xmm0, qword [eax + 0x90]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x88], xmm0
movsd xmm0, qword [eax + 0x98]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x90], xmm0
movsd xmm0, qword [eax + 0xa0]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x98], xmm0
movsd xmm0, qword [eax + 0xa8]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xa0], xmm0
movsd xmm0, qword [eax + 0xb0]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xa8], xmm0
movsd xmm0, qword [eax + 0xb8]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xb0], xmm0
movsd xmm0, qword [eax + 0xc0]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xb8], xmm0
movsd xmm0, qword [eax + 0xc8]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xc0], xmm0
movsd xmm0, qword [eax + 0xd0]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xc8], xmm0
movsd xmm0, qword [eax + 0xd8]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xd0], xmm0
movsd xmm0, qword [eax + 0xe0]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xd8], xmm0
movsd xmm0, qword [eax + 0xe8]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xe0], xmm0
movsd xmm0, qword [eax + 0xf0]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xe8], xmm0
movsd xmm0, qword [eax + 0xf8]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xf0], xmm0
lea ecx, [eax + 0x110]
mov edx, dword [esi + 4]
movups xmm0, xmmword [ecx + ebx]
movups xmmword [edx + ebx + 0x110], xmm0
add ebx, 0x10
cmp ebx, 0x200
jne 0x50c71a
movsd xmm0, qword [eax + 0x100]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0xf8], xmm0
movsd xmm0, qword [eax + 0x108]
mov ecx, dword [esi + 4]
movsd qword [ecx + 0x100], xmm0
mov ecx, dword [eax + 0x310]
mov edx, dword [esi + 4]
mov dword [edx + 0x314], ecx
mov ecx, dword [eax + 0x314]
mov edx, dword [esi + 4]
mov dword [edx + 0x310], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x108], eax
jmp 0x50c0ac
lea ecx, [esi + 8]
push 0x2f0
call fcn.00455e50
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, ebx
cmp ecx, 0x4d0
jb 0x50c0a2
test byte [ebx + 0x32], 0x10
je 0x50c0a2
lea ecx, [ebx + 0x100]
add eax, 0x98
push 0x200
push ecx
push eax
call fcn.00491320
add esp, 0xc
movzx eax, word [ebx + 0x38]
mov ecx, dword [esi + 4]
mov word [ecx + 0x90], ax
movzx eax, word [ebx + 0x3e]
mov ecx, dword [esi + 4]
mov word [ecx + 0x92], ax
movzx eax, word [ebx + 0x40]
mov ecx, dword [esi + 4]
mov word [ecx + 0x94], ax
mov eax, dword [ebx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x88], eax
mov dword [ecx + 0x8c], 0
movsd xmm0, qword [ebx + 0x48]
mov eax, dword [esi + 4]
movsd qword [eax + 0x298], xmm0
movsd xmm0, qword [ebx + 0x50]
mov eax, dword [esi + 4]
movsd qword [eax + 0x2a0], xmm0
movsd xmm0, qword [ebx + 0x58]
mov eax, dword [esi + 4]
movsd qword [eax + 0x2a8], xmm0
movsd xmm0, qword [ebx + 0x60]
mov eax, dword [esi + 4]
movsd qword [eax + 0x2b0], xmm0
movsd xmm0, qword [ebx + 0x68]
mov eax, dword [esi + 4]
movsd qword [eax + 0x2c8], xmm0
movsd xmm0, qword [ebx + 0x70]
mov eax, dword [esi + 4]
movsd qword [eax + 0x2d0], xmm0
movsd xmm0, qword [ebx + 0x78]
mov eax, dword [esi + 4]
movsd qword [eax], xmm0
movsd xmm0, qword [ebx + 0x80]
mov eax, dword [esi + 4]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ebx + 0x88]
mov eax, dword [esi + 4]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [ebx + 0x90]
mov eax, dword [esi + 4]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [ebx + 0x98]
mov eax, dword [esi + 4]
movsd qword [eax + 0x38], xmm0
movsd xmm0, qword [ebx + 0xa0]
mov eax, dword [esi + 4]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [ebx + 0xa8]
mov eax, dword [esi + 4]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [ebx + 0xb0]
mov eax, dword [esi + 4]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [ebx + 0xb8]
mov eax, dword [esi + 4]
movsd qword [eax + 0x40], xmm0
movsd xmm0, qword [ebx + 0xc0]
mov eax, dword [esi + 4]
movsd qword [eax + 0x48], xmm0
movsd xmm0, qword [ebx + 0xc8]
mov eax, dword [esi + 4]
movsd qword [eax + 0x50], xmm0
movsd xmm0, qword [ebx + 0xd0]
mov eax, dword [esi + 4]
movsd qword [eax + 0x58], xmm0
movsd xmm0, qword [ebx + 0xd8]
mov eax, dword [esi + 4]
movsd qword [eax + 0x60], xmm0
movsd xmm0, qword [ebx + 0xe0]
mov eax, dword [esi + 4]
movsd qword [eax + 0x68], xmm0
movsd xmm0, qword [ebx + 0xe8]
mov eax, dword [esi + 4]
movsd qword [eax + 0x70], xmm0
movsd xmm0, qword [ebx + 0xf0]
mov eax, dword [esi + 4]
movsd qword [eax + 0x78], xmm0
movsd xmm0, qword [ebx + 0xf8]
mov eax, dword [esi + 4]
movsd qword [eax + 0x80], xmm0
movsd xmm0, qword [ebx + 0x68]
mov eax, dword [esi + 4]
movsd qword [eax + 0x2b8], xmm0
movsd xmm0, qword [ebx + 0x70]
mov eax, dword [esi + 4]
movsd qword [eax + 0x2c0], xmm0
jmp 0x50c0ac
lea ecx, [ebx + 0xcc]
add eax, 0x34
push 0x200
push ecx
push eax
call fcn.00491320
add esp, 0xc
mov eax, dword [ebx + 0xb0]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [ebx + 0xa4]
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xac]
mov ecx, dword [esi + 4]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xa8]
mov ecx, dword [esi + 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x9c]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0xa0]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0xb4]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0xc4]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0xb8]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0xc0]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x24], eax
movzx eax, word [ebx + 0xbc]
mov ecx, dword [esi + 4]
mov word [ecx + 0x28], ax
movzx eax, word [ebx + 0x98]
mov ecx, dword [esi + 4]
mov word [ecx + 0x2a], ax
movzx eax, word [ebx + 0x94]
mov ecx, dword [esi + 4]
mov word [ecx + 0x2c], ax
movzx eax, word [ebx + 0x90]
mov ecx, dword [esi + 4]
mov word [ecx + 0x2e], ax
movzx eax, word [ebx + 0x8c]
mov ecx, dword [esi + 4]
mov word [ecx + 0x30], ax
movzx eax, word [ebx + 0xc8]
mov ecx, dword [esi + 4]
mov word [ecx + 0x32], ax
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x234], eax
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x238], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x23c], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x240], eax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x24c], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x250], eax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x244], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x248], eax
jmp 0x50c0ac