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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
je 0x5ad624
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov al, 1
dec ecx
cmp ecx, 5
ja case.default.0x5ad497
jmp dword [ecx*4 + 0x5f6680]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp ecx, 0x253
ja 0x5adc97
lea edi, [esi + 8]
mov eax, 0x254
sub eax, ecx
mov ecx, edi
push eax
call fcn.004d4f10
mov eax, dword [edi]
mov dword [esi + 4], eax
mov edi, dword [ebx]
mov ecx, dword [ebx + 4]
sub ecx, edi
cmp ecx, 0x2cc
jb 0x5adc90
mov ecx, dword [edi]
bt ecx, 0x10
jae 0x5adc90
add esi, 4
test ecx, 0x10020
je 0x5adf89
lea ecx, [edi + 0xcc]
add eax, 0x34
push 0x200
push ecx
push eax
call fcn.00507560
add esp, 0xc
mov eax, dword [edi + 0xb0]
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [edi + 0xa4]
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xac]
mov ecx, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xa8]
mov ecx, dword [esi]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x9c]
mov ecx, dword [esi]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0xa0]
mov ecx, dword [esi]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0xb4]
mov ecx, dword [esi]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0xc4]
mov ecx, dword [esi]
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0xb8]
mov ecx, dword [esi]
mov dword [ecx + 0x20], eax
mov eax, dword [edi + 0xc0]
mov ecx, dword [esi]
mov dword [ecx + 0x24], eax
movzx eax, word [edi + 0xbc]
mov ecx, dword [esi]
mov word [ecx + 0x28], ax
movzx eax, word [edi + 0x98]
mov ecx, dword [esi]
mov word [ecx + 0x2a], ax
movzx eax, word [edi + 0x94]
mov ecx, dword [esi]
mov word [ecx + 0x2c], ax
movzx eax, word [edi + 0x90]
mov ecx, dword [esi]
mov word [ecx + 0x2e], ax
movzx eax, word [edi + 0x8c]
mov ecx, dword [esi]
mov word [ecx + 0x30], ax
movzx eax, word [edi + 0xc8]
mov ecx, dword [esi]
mov word [ecx + 0x32], ax
mov eax, dword [edi + 4]
mov ecx, dword [esi]
mov dword [ecx + 0x234], eax
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov dword [ecx + 0x238], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov dword [ecx + 0x23c], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [esi]
mov dword [ecx + 0x240], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [esi]
mov dword [ecx + 0x24c], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [esi]
mov dword [ecx + 0x244], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [esi]
mov dword [ecx + 0x248], eax
jmp 0x5ad62a
mov dword [esi], 0
mov al, 1
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp ecx, 0x2d7
ja 0x5adcb1
lea edi, [esi + 8]
mov eax, 0x2d8
sub eax, ecx
mov ecx, edi
push eax
call fcn.004d4f10
mov eax, dword [edi]
mov dword [esi + 4], eax
mov edi, dword [ebx]
mov ecx, dword [ebx + 4]
sub ecx, edi
cmp ecx, 0x4d0
jb 0x5adc90
test byte [edi + 0x32], 0x10
je 0x5adc90
add esi, 4
lea ecx, [edi + 0x100]
add eax, 0x98
push 0x200
push ecx
push eax
call fcn.00507560
add esp, 0xc
movzx eax, word [edi + 0x38]
mov ecx, dword [esi]
mov word [ecx + 0x90], ax
movzx eax, word [edi + 0x3e]
mov ecx, dword [esi]
mov word [ecx + 0x92], ax
movzx eax, word [edi + 0x40]
mov ecx, dword [esi]
mov word [ecx + 0x94], ax
mov eax, dword [edi + 0x44]
mov ecx, dword [esi]
mov dword [ecx + 0x88], eax
mov dword [ecx + 0x8c], 0
movsd xmm0, qword [edi + 0x48]
mov eax, dword [esi]
movsd qword [eax + 0x298], xmm0
movsd xmm0, qword [edi + 0x50]
mov eax, dword [esi]
movsd qword [eax + 0x2a0], xmm0
movsd xmm0, qword [edi + 0x58]
mov eax, dword [esi]
movsd qword [eax + 0x2a8], xmm0
movsd xmm0, qword [edi + 0x60]
mov eax, dword [esi]
movsd qword [eax + 0x2b0], xmm0
movsd xmm0, qword [edi + 0x68]
mov eax, dword [esi]
movsd qword [eax + 0x2c8], xmm0
movsd xmm0, qword [edi + 0x70]
mov eax, dword [esi]
movsd qword [eax + 0x2d0], xmm0
movsd xmm0, qword [edi + 0x78]
mov eax, dword [esi]
movsd qword [eax], xmm0
movsd xmm0, qword [edi + 0x80]
mov eax, dword [esi]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [edi + 0x88]
mov eax, dword [esi]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [edi + 0x90]
mov eax, dword [esi]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [edi + 0x98]
mov eax, dword [esi]
movsd qword [eax + 0x38], xmm0
movsd xmm0, qword [edi + 0xa0]
mov eax, dword [esi]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [edi + 0xa8]
mov eax, dword [esi]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [edi + 0xb0]
mov eax, dword [esi]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [edi + 0xb8]
mov eax, dword [esi]
movsd qword [eax + 0x40], xmm0
movsd xmm0, qword [edi + 0xc0]
mov eax, dword [esi]
movsd qword [eax + 0x48], xmm0
movsd xmm0, qword [edi + 0xc8]
mov eax, dword [esi]
movsd qword [eax + 0x50], xmm0
movsd xmm0, qword [edi + 0xd0]
mov eax, dword [esi]
movsd qword [eax + 0x58], xmm0
movsd xmm0, qword [edi + 0xd8]
mov eax, dword [esi]
movsd qword [eax + 0x60], xmm0
movsd xmm0, qword [edi + 0xe0]
mov eax, dword [esi]
movsd qword [eax + 0x68], xmm0
movsd xmm0, qword [edi + 0xe8]
mov eax, dword [esi]
movsd qword [eax + 0x70], xmm0
movsd xmm0, qword [edi + 0xf0]
mov eax, dword [esi]
movsd qword [eax + 0x78], xmm0
movsd xmm0, qword [edi + 0xf8]
mov eax, dword [esi]
movsd qword [eax + 0x80], xmm0
movsd xmm0, qword [edi + 0x68]
mov eax, dword [esi]
movsd qword [eax + 0x2b8], xmm0
movsd xmm0, qword [edi + 0x70]
mov eax, dword [esi]
movsd qword [eax + 0x2c0], xmm0
jmp 0x5ad62a
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub eax, edx
cmp eax, 0x1c7
ja 0x5adccb
lea edi, [esi + 8]
mov edx, 0x1c8
sub edx, eax
mov ecx, edi
push edx
call fcn.004d4f10
mov edx, dword [edi]
mov dword [esi + 4], edx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
cmp eax, 0x170
jb 0x5adc90
xor eax, eax
test byte [ecx + 3], 0x40
je case.default.0x5ad497
mov edi, dword [ecx + 4]
mov dword [edx], edi
mov edx, dword [ecx + 8]
mov edi, dword [esi + 4]
mov dword [edi + 4], edx
mov edx, dword [ecx + 0xc]
mov edi, dword [esi + 4]
mov dword [edi + 8], edx
mov edx, dword [ecx + 0x10]
mov edi, dword [esi + 4]
mov dword [edi + 0xc], edx
mov edx, dword [ecx + 0x14]
mov edi, dword [esi + 4]
mov dword [edi + 0x10], edx
mov edx, dword [ecx + 0x18]
mov edi, dword [esi + 4]
mov dword [edi + 0x14], edx
mov edx, dword [ecx + 0x1c]
mov edi, dword [esi + 4]
mov dword [edi + 0x18], edx
mov edx, dword [ecx + 0x20]
mov edi, dword [esi + 4]
mov dword [edi + 0x1c], edx
mov edx, dword [ecx + 0x24]
mov edi, dword [esi + 4]
mov dword [edi + 0x20], edx
mov edx, dword [ecx + 0x28]
mov edi, dword [esi + 4]
mov dword [edi + 0x24], edx
mov edx, dword [ecx + 0x2c]
mov edi, dword [esi + 4]
mov dword [edi + 0x28], edx
mov edx, dword [ecx + 0x30]
mov edi, dword [esi + 4]
mov dword [edi + 0x2c], edx
mov edx, dword [ecx + 0x34]
mov edi, dword [esi + 4]
mov dword [edi + 0x30], edx
mov edx, dword [ecx + 0x38]
mov edi, dword [esi + 4]
mov dword [edi + 0x34], edx
mov edx, dword [ecx + 0x3c]
mov edi, dword [esi + 4]
mov dword [edi + 0x38], edx
mov edx, dword [ecx + 0x40]
mov edi, dword [esi + 4]
mov dword [edi + 0x3c], edx
mov edx, dword [ecx + 0x44]
mov edi, dword [esi + 4]
mov dword [edi + 0x40], edx
mov edx, dword [ecx + 0x48]
mov edi, dword [esi + 4]
mov dword [edi + 0x1b8], edx
movsd xmm0, qword [ecx + eax*8 + 0x50]
mov edx, dword [esi + 4]
movsd qword [edx + eax*8 + 0xb8], xmm0
inc eax
cmp eax, 0x20
jne 0x5ad938
mov eax, dword [esi + 4]
mov byte [eax + 0x1c0], 0
test dword [ecx], 0x40000004
mov eax, dword [esi + 4]
setne byte [eax + 0x1c1]
jmp 0x5ad62a
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub eax, edx
cmp eax, 0x317
ja 0x5adce4
lea edi, [esi + 8]
mov edx, 0x318
sub edx, eax
mov ecx, edi
push edx
call fcn.004d4f10
mov edx, dword [edi]
mov dword [esi + 4], edx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
cmp eax, 0x390
jb 0x5adc90
xor eax, eax
test byte [ecx + 2], 0x40
je case.default.0x5ad497
add esi, 4
movsd xmm0, qword [ecx + 8]
movsd qword [edx], xmm0
movsd xmm0, qword [ecx + 0x10]
mov edx, dword [esi]
movsd qword [edx + 8], xmm0
movsd xmm0, qword [ecx + 0x18]
mov edx, dword [esi]
movsd qword [edx + 0x10], xmm0
movsd xmm0, qword [ecx + 0x20]
mov edx, dword [esi]
movsd qword [edx + 0x18], xmm0
movsd xmm0, qword [ecx + 0x28]
mov edx, dword [esi]
movsd qword [edx + 0x20], xmm0
movsd xmm0, qword [ecx + 0x30]
mov edx, dword [esi]
movsd qword [edx + 0x28], xmm0
movsd xmm0, qword [ecx + 0x38]
mov edx, dword [esi]
movsd qword [edx + 0x30], xmm0
movsd xmm0, qword [ecx + 0x40]
mov edx, dword [esi]
movsd qword [edx + 0x38], xmm0
movsd xmm0, qword [ecx + 0x48]
mov edx, dword [esi]
movsd qword [edx + 0x40], xmm0
movsd xmm0, qword [ecx + 0x50]
mov edx, dword [esi]
movsd qword [edx + 0x48], xmm0
movsd xmm0, qword [ecx + 0x58]
mov edx, dword [esi]
movsd qword [edx + 0x50], xmm0
movsd xmm0, qword [ecx + 0x60]
mov edx, dword [esi]
movsd qword [edx + 0x58], xmm0
movsd xmm0, qword [ecx + 0x68]
mov edx, dword [esi]
movsd qword [edx + 0x60], xmm0
movsd xmm0, qword [ecx + 0x70]
mov edx, dword [esi]
movsd qword [edx + 0x68], xmm0
movsd xmm0, qword [ecx + 0x78]
mov edx, dword [esi]
movsd qword [edx + 0x70], xmm0
movsd xmm0, qword [ecx + 0x80]
mov edx, dword [esi]
movsd qword [edx + 0x78], xmm0
movsd xmm0, qword [ecx + 0x88]
mov edx, dword [esi]
movsd qword [edx + 0x80], xmm0
movsd xmm0, qword [ecx + 0x90]
mov edx, dword [esi]
movsd qword [edx + 0x88], xmm0
movsd xmm0, qword [ecx + 0x98]
mov edx, dword [esi]
movsd qword [edx + 0x90], xmm0
movsd xmm0, qword [ecx + 0xa0]
mov edx, dword [esi]
movsd qword [edx + 0x98], xmm0
movsd xmm0, qword [ecx + 0xa8]
mov edx, dword [esi]
movsd qword [edx + 0xa0], xmm0
movsd xmm0, qword [ecx + 0xb0]
mov edx, dword [esi]
movsd qword [edx + 0xa8], xmm0
movsd xmm0, qword [ecx + 0xb8]
mov edx, dword [esi]
movsd qword [edx + 0xb0], xmm0
movsd xmm0, qword [ecx + 0xc0]
mov edx, dword [esi]
movsd qword [edx + 0xb8], xmm0
movsd xmm0, qword [ecx + 0xc8]
mov edx, dword [esi]
movsd qword [edx + 0xc0], xmm0
movsd xmm0, qword [ecx + 0xd0]
mov edx, dword [esi]
movsd qword [edx + 0xc8], xmm0
movsd xmm0, qword [ecx + 0xd8]
mov edx, dword [esi]
movsd qword [edx + 0xd0], xmm0
movsd xmm0, qword [ecx + 0xe0]
mov edx, dword [esi]
movsd qword [edx + 0xd8], xmm0
movsd xmm0, qword [ecx + 0xe8]
mov edx, dword [esi]
movsd qword [edx + 0xe0], xmm0
movsd xmm0, qword [ecx + 0xf0]
mov edx, dword [esi]
movsd qword [edx + 0xe8], xmm0
movsd xmm0, qword [ecx + 0xf8]
mov edx, dword [esi]
movsd qword [edx + 0xf0], xmm0
lea edx, [ecx + 0x110]
mov edi, dword [esi]
movups xmm0, xmmword [edx + eax]
movups xmmword [edi + eax + 0x110], xmm0
add eax, 0x10
cmp eax, 0x200
jne 0x5adb8e
movsd xmm0, qword [ecx + 0x100]
mov eax, dword [esi]
movsd qword [eax + 0xf8], xmm0
movsd xmm0, qword [ecx + 0x108]
mov eax, dword [esi]
movsd qword [eax + 0x100], xmm0
mov eax, dword [ecx + 0x310]
mov edx, dword [esi]
mov dword [edx + 0x314], eax
mov eax, dword [ecx + 0x314]
mov edx, dword [esi]
mov dword [edx + 0x310], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esi]
mov dword [ecx + 0x108], eax
jmp 0x5ad62a
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub eax, edx
cmp eax, 0x23f
ja 0x5adcfd
lea edi, [esi + 8]
mov edx, 0x240
sub edx, eax
mov ecx, edi
push edx
call fcn.004d4f10
mov edx, dword [edi]
mov dword [esi + 4], edx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
cmp eax, 0x258
jb 0x5adc90
xor eax, eax
test byte [ecx + 2], 4
je case.default.0x5ad497
movsd xmm0, qword [ecx + eax*8 + 8]
movsd qword [edx + eax*8], xmm0
cmp eax, 0x1f
je 0x5add55
mov edx, dword [esi + 4]
inc eax
jmp 0x5adc3a
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub eax, edx
cmp eax, 0x277
ja 0x5add16
lea edi, [esi + 8]
mov edx, 0x278
sub edx, eax
mov ecx, edi
push edx
call fcn.004d4f10
mov edx, dword [edi]
mov dword [esi + 4], edx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
cmp eax, 0x280
jae 0x5add2f
xor eax, eax
jmp case.default.0x5ad497
cmp ecx, 0x254
je 0x5ad4c6
lea ecx, [eax + 0x254]
mov dword [esi + 0xc], ecx
jmp 0x5ad4c6
cmp ecx, 0x2d8
je 0x5ad65b
lea ecx, [eax + 0x2d8]
mov dword [esi + 0xc], ecx
jmp 0x5ad65b
cmp eax, 0x1c8
je 0x5ad876
lea eax, [edx + 0x1c8]
mov dword [esi + 0xc], eax
jmp 0x5ad876
cmp eax, 0x318
je 0x5ad996
lea eax, [edx + 0x318]
mov dword [esi + 0xc], eax
jmp 0x5ad996
cmp eax, 0x240
je 0x5adc1d
lea eax, [edx + 0x240]
mov dword [esi + 0xc], eax
jmp 0x5adc1d
cmp eax, 0x278
je 0x5adc7b
lea eax, [edx + 0x278]
mov dword [esi + 0xc], eax
jmp 0x5adc7b
xor eax, eax
test byte [ecx + 2], 8
je case.default.0x5ad497
movsd xmm0, qword [ecx + eax*8 + 8]
movsd qword [edx + eax*8], xmm0
cmp eax, 0x1f
je 0x5ade49
mov edx, dword [esi + 4]
inc eax
jmp 0x5add3b
mov eax, dword [ecx + 0x108]
mov edx, dword [esi + 4]
mov dword [edx + 0x104], eax
mov eax, dword [ecx + 0x110]
mov edx, dword [esi + 4]
mov dword [edx + 0x100], eax
mov eax, dword [ecx + 0x130]
mov edx, dword [esi + 4]
mov dword [edx + 0x130], eax
mov eax, dword [ecx + 0x118]
mov edx, dword [esi + 4]
mov dword [edx + 0x118], eax
mov eax, dword [ecx + 0x124]
mov edx, dword [esi + 4]
mov dword [edx + 0x124], eax
mov eax, dword [ecx + 0x11c]
mov edx, dword [esi + 4]
mov dword [edx + 0x11c], eax
mov eax, dword [ecx + 0x128]
mov edx, dword [esi + 4]
mov dword [edx + 0x128], eax
mov eax, dword [ecx + 0x120]
mov edx, dword [esi + 4]
mov dword [edx + 0x120], eax
mov eax, dword [ecx + 0x12c]
mov edx, dword [esi + 4]
mov dword [edx + 0x12c], eax
mov eax, dword [ecx + 0x138]
mov edx, dword [esi + 4]
mov dword [edx + 0x108], eax
mov eax, dword [ecx + 0x140]
mov edx, dword [esi + 4]
mov dword [edx + 0x10c], eax
mov eax, dword [ecx + 0x148]
mov edx, dword [esi + 4]
mov dword [edx + 0x110], eax
mov eax, dword [ecx + 0x14c]
mov edx, dword [esi + 4]
mov dword [edx + 0x114], eax
mov eax, dword [ecx + 0x250]
mov edx, dword [esi + 4]
mov dword [edx + 0x238], eax
mov eax, dword [ecx + 0x254]
mov edx, dword [esi + 4]
mov dword [edx + 0x23c], eax
mov eax, 0x138
add eax, dword [esi + 4]
add ecx, 0x150
jmp 0x5adf74
movsd xmm0, qword [ecx + 0x108]
mov eax, dword [esi + 4]
movsd qword [eax + 0x108], xmm0
movsd xmm0, qword [ecx + 0x110]
mov eax, dword [esi + 4]
movsd qword [eax + 0x100], xmm0
movsd xmm0, qword [ecx + 0x148]
mov eax, dword [esi + 4]
movsd qword [eax + 0x160], xmm0
movsd xmm0, qword [ecx + 0x118]
mov eax, dword [esi + 4]
movsd qword [eax + 0x130], xmm0
movsd xmm0, qword [ecx + 0x130]
mov eax, dword [esi + 4]
movsd qword [eax + 0x148], xmm0
movsd xmm0, qword [ecx + 0x120]
mov eax, dword [esi + 4]
movsd qword [eax + 0x138], xmm0
movsd xmm0, qword [ecx + 0x138]
mov eax, dword [esi + 4]
movsd qword [eax + 0x150], xmm0
movsd xmm0, qword [ecx + 0x128]
mov eax, dword [esi + 4]
movsd qword [eax + 0x140], xmm0
movsd xmm0, qword [ecx + 0x140]
mov eax, dword [esi + 4]
movsd qword [eax + 0x158], xmm0
movsd xmm0, qword [ecx + 0x150]
mov eax, dword [esi + 4]
movsd qword [eax + 0x110], xmm0
movsd xmm0, qword [ecx + 0x158]
mov eax, dword [esi + 4]
movsd qword [eax + 0x118], xmm0
movsd xmm0, qword [ecx + 0x160]
mov eax, dword [esi + 4]
movsd qword [eax + 0x120], xmm0
movsd xmm0, qword [ecx + 0x168]
mov eax, dword [esi + 4]
movsd qword [eax + 0x128], xmm0
movsd xmm0, qword [ecx + 0x270]
mov eax, dword [esi + 4]
movsd qword [eax + 0x268], xmm0
movsd xmm0, qword [ecx + 0x278]
mov eax, dword [esi + 4]
movsd qword [eax + 0x270], xmm0
mov eax, 0x168
add eax, dword [esi + 4]
add ecx, 0x170
mov edx, 0x100
push edx
push ecx
push eax
call fcn.00507560
add esp, 0xc
jmp 0x5ad62a
test ecx, 0x10008
je 0x5ad50f
add eax, 0x34
lea ecx, [edi + 0x1c]
push eax
push ecx
call fcn.005af410
add esp, 8
jmp 0x5ad50f