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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a6bae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp eax, dword [ebx + 8]
push esi
push edi
jge 0x508f28
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x508e52
mov esi, dword [ebx + 0xc]
mov dword [esp + 0xc], esi
jmp 0x508e58
mov dword [esp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
add eax, esi
js 0x508f57
imul eax, eax, 0x8c
push eax
call fcn.0056c3b7
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
add esp, 4
cmp edx, eax
jg 0x508ef2
nop
mov edi, dword [ebx + 8]
mov eax, edx
sub eax, edi
lea ecx, [eax + esi]
mov esi, dword [esp + 0x10]
imul ecx, ecx, 0x8c
add esi, ecx
mov dword [esp + 0x14], esi
mov ecx, 0x23
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xa4]
mov edi, dword [esp + 0x14]
mov esi, eax
imul esi, esi, 0x8c
add esi, ecx
mov ecx, 0x23
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xa4]
mov edi, edx
sub edi, eax
imul edi, edi, 0x8c
add edi, esi
mov ecx, 0x23
lea esi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0xc]
inc edx
cmp edx, eax
jle 0x508e80
mov eax, dword [ebx + 0xa4]
push eax
call fcn.0056c3bc
mov edx, dword [esp + 0x14]
mov edi, dword [ebx + 8]
mov eax, dword [ebp + 8]
sub edi, esi
mov dword [ebx + 0xa4], edx
mov edx, dword [ebx + 0xc]
add edx, esi
mov ecx, edi
add esp, 4
cmp eax, ecx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edx
jl 0x508e42
mov edx, dword [ebx + 0xc]
add edx, dword [ebx + 8]
cmp eax, edx
jl 0x509142
jmp 0x508f40
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x50907a
mov esi, dword [ebx + 0xc]
mov dword [esp + 0xc], esi
jmp 0x509080
mov edi, 0xf
push edi
push str.spaceextend_0
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
call fcn.004031a0
xor eax, eax
mov dword [esp + 0x17c], eax
push 6
push str.extend
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
call fcn.004031a0
mov byte [esp + 0x17c], 1
push 5
push str.space
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
call fcn.004031a0
mov byte [esp + 0x17c], 2
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.004031a0
mov byte [esp + 0x17c], 3
push 0x26
push str.c:myprojectsplayer_trunkContainer.h
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
call fcn.004031a0
mov byte [esp + 0x17c], 4
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x88]
push ecx
push esi
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x48]
push edx
push 0x1c1
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xc4]
call fcn.0054a580
push 0x5d7834
lea ecx, [esp + 0xa8]
push ecx
call fcn.0055a7d2
mov dword [esp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
add eax, esi
js 0x5091dc
imul eax, eax, 0x8c
push eax
call fcn.0056c3b7
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
add esp, 4
cmp edx, eax
jg 0x50910f
mov esi, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov eax, edx
sub eax, esi
imul eax, eax, 0x8c
lea esi, [eax + ecx]
mov dword [esp + 0x14], esi
mov ecx, 0x23
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0xa4]
mov edi, dword [esp + 0x14]
add esi, eax
mov ecx, 0x23
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xa4]
mov edi, edx
sub edi, eax
imul edi, edi, 0x8c
add edi, esi
mov ecx, 0x23
lea esi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
inc edx
cmp edx, eax
jle 0x5090a7
mov esi, dword [esp + 0xc]
mov edx, dword [ebx + 0xa4]
push edx
call fcn.0056c3bc
mov edi, dword [ebx + 0xc]
mov eax, dword [esp + 0x14]
add edi, esi
mov dword [ebx + 0xa4], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], edi
mov edx, dword [ebx + 8]
mov ecx, edi
add ecx, edx
add esp, 4
cmp eax, ecx
jge 0x508f40
cmp eax, dword [ebx]
jge 0x509175
mov edx, dword [ebx]
mov cl, byte [ebx + 0x14]
dec edx
test cl, cl
mov dword [ebx], edx
mov edi, edx
je 0x509171
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xa4]
sub edi, edx
imul edi, edi, 0x8c
add edi, ecx
lea esi, [ebx + 0x18]
mov ecx, 0x23
rep movsd dword es:[edi], dword [esi]
cmp eax, dword [ebx]
jl 0x509146
cmp eax, dword [ebx + 4]
jle 0x5091b2
lea ebx, [ebx]
mov edx, dword [ebx + 4]
mov cl, byte [ebx + 0x14]
inc edx
test cl, cl
mov dword [ebx + 4], edx
mov edi, edx
je 0x5091ad
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xa4]
sub edi, edx
imul edi, edi, 0x8c
add edi, ecx
lea esi, [ebx + 0x18]
mov ecx, 0x23
rep movsd dword es:[edi], dword [esi]
cmp eax, dword [ebx + 4]
jg 0x509180
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xa4]
sub eax, edx
imul eax, eax, 0x8c
pop edi
add eax, ecx
mov ecx, dword [esp + 0x170]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0xf
push edi
push str.spaceextend_0
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
call fcn.004031a0
mov dword [esp + 0x17c], 5
push 6
push str.extend
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.004031a0
mov byte [esp + 0x17c], 6
push 5
push str.space
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
call fcn.004031a0
mov byte [esp + 0x17c], 7
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.004031a0
mov byte [esp + 0x17c], 8
push 0x26
push str.c:myprojectsplayer_trunkContainer.h
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
call fcn.004031a0
mov byte [esp + 0x17c], 9
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x50]
push edx
push esi
lea eax, [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x2c]
push eax
push 0x1cf
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0xc4]
call fcn.0054a580
push 0x5d7834
lea edx, [esp + 0xa8]
push edx
call fcn.0055a7d2
int3