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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x6300f4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b8a15
lea esi, [ebx + 0x158]
mov ecx, ebx
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x8c]
push eax
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x560]
lea edi, [esp + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c0145
mov ecx, eax
call fcn.004c4560
mov eax, dword [esp + 0x8c]
add dword [ebp + 8], eax
mov eax, dword [esp + 0x90]
add dword [ebp + 0xc], eax
mov eax, dword [esp + 0x94]
sub dword [ebp + 0x10], eax
mov eax, dword [esp + 0x98]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x4edc19
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4edc19
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x4edc40
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4edc40
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x558], 0
jne 0x4edc68
mov eax, dword [ebx]
lea esi, [ebp + 8]
push 0
push 0
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1fc]
jmp 0x4ee398
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x584]
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x4edca2
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4edca2
mov eax, dword [ebx + 0x584]
add esi, dword [eax + 0x554]
mov dword [esp + 0x2c], esi
and dword [esp + 0x48], 0
xor eax, eax
and dword [esp + 0x28], 0
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp dword [ebx + 0x558], eax
jle 0x4edeb7
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x4ede9a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x4ede9a
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
mov esi, dword [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [edi]
mov ecx, edi
sub esi, dword [esp + 0x98]
sub esi, dword [esp + 0x90]
call dword [eax + 0x7c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x10], eax
call dword [edx + 0x84]
cmp dword [esp + 0x10], 0
mov edx, eax
mov dword [esp + 0x30], edx
jg 0x4edd4c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
test edx, edx
jg 0x4edd5c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp eax, dword [esp + 0x10]
mov eax, dword [edi]
cmovg ecx, dword [esp + 0x10]
cmp esi, edx
cmovg esi, edx
push esi
push ecx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x84], 0
jne 0x4edd94
inc dword [esp + 0x28]
jmp 0x4edddc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x4eddb8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
cmp dword [esp + 0x84], eax
jle 0x4edddc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
lea esi, [eax + 8]
mov eax, dword [edi]
call dword [eax + 0x6c]
mov ecx, dword [esi]
add ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x1c]
add ecx, dword [eax]
xor eax, eax
add esi, ecx
cmp dword [esp + 0x88], eax
mov ecx, edi
mov dword [esp + 0x1c], esi
cmovg eax, dword [esp + 0x88]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x4ede48
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, dword [esp + 0x88]
cmp edx, eax
jle 0x4ede70
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, eax
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x90]
add ecx, edx
add eax, ecx
cmp dword [esp + 0x48], eax
cmovg eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x4ede9e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x4edcca
mov edi, dword [esp + 0x14]
and dword [esp + 0x20], 0
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x570]
and dword [esp + 0x30], 0
imul eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x28]
add esi, eax
test ecx, ecx
jle 0x4edeed
mov eax, edi
sub eax, esi
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [ebx + 0x588]
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], edi
test ecx, ecx
je 0x4edf1a
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4edf1a
mov eax, dword [ebx + 0x588]
sub edi, dword [eax + 0x558]
mov dword [esp + 0x10], edi
xor eax, eax
xor ecx, ecx
and dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
cmp dword [ebx + 0x558], eax
jle 0x4ee36e
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x40], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x4ee359
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
je 0x4edf76
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x44]
call dword [eax + 0x1f8]
jmp 0x4ee359
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
inc dword [esp + 0x3c]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [esp + 0x14]
mov ecx, edi
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov eax, dword [edi]
call dword [eax + 0x7c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x18], eax
call dword [edx + 0x84]
cmp dword [esp + 0x18], 0
mov ecx, eax
mov dword [esp + 0x24], ecx
jg 0x4edfe2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
test ecx, ecx
jg 0x4edff2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov ecx, eax
mov eax, dword [esp + 0x14]
mov edx, eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
cmovg eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
cmp edx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x94]
cmovg edx, ecx
add eax, dword [esp + 0x8c]
sub esi, eax
mov dword [esp + 0x34], edx
cmp dword [esp + 0x3c], 1
mov dword [esp + 0x1c], esi
jle 0x4ee03b
sub esi, dword [ebx + 0x570]
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
lea ecx, [esp + 0x84]
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x84], 0
jne 0x4ee0db
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x84], eax
cmp ecx, dword [esp + 0x28]
jne 0x4ee091
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x94]
push 0
sub eax, esi
pop ecx
cmovs eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x4ee0b5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
cmp dword [esp + 0x84], eax
jle 0x4ee12d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x84], eax
jmp 0x4ee12d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x4ee0ff
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov ecx, dword [esp + 0x84]
cmp ecx, eax
jle 0x4ee127
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov ecx, eax
mov dword [esp + 0x84], ecx
sub esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
test eax, eax
jne 0x4ee14d
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, edi
cmp eax, dword [esp + 0x34]
cmovg eax, dword [esp + 0x34]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x4ee188
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x184]
mov ecx, dword [ebx + 0x584]
cmp eax, 4
jne 0x4ee22f
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [esp + 0x34], esi
test ecx, ecx
je 0x4ee1df
mov edx, dword [ecx]
call dword [edx + 0xf4]
test al, al
je 0x4ee1df
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx + 0x554]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x558]
add esi, eax
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x74], eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
sub edx, eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x8c]
add eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
lea eax, [esi + edx]
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], eax
lea esi, [esp + 0x74]
jmp 0x4ee306
cmp eax, 8
jne 0x4ee2a1
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4ee25b
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4ee25b
mov eax, dword [ebx + 0x584]
mov ecx, dword [eax + 0x554]
sub ecx, dword [eax + 0x558]
add esi, ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx]
mov dword [esp + 0x54], eax
mov eax, esi
sub eax, dword [esp + 0x88]
sub eax, dword [esp + 0x98]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
add eax, ecx
add eax, edx
sub esi, dword [esp + 0x98]
mov dword [esp + 0x60], esi
lea esi, [esp + 0x54]
mov dword [esp + 0x5c], eax
jmp 0x4ee306
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x4ee2c0
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4ee2c0
mov eax, dword [ebx + 0x584]
sub esi, dword [eax + 0x558]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x8c]
mov dword [esp + 0x64], eax
lea eax, [esi + edx]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x8c]
add eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
add eax, esi
lea esi, [esp + 0x64]
add eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x40]
push 0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x94]
mov esi, dword [ebx + 0x570]
lea eax, [edx + ecx]
add eax, dword [esp + 0x8c]
add eax, esi
add dword [esp + 0x10], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x8c]
add dword [esp + 0x20], eax
lea eax, [edx + ecx]
add eax, esi
mov esi, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x44], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x4edf36
mov eax, dword [ebx + 0x570]
lea esi, [ebp + 8]
imul eax, dword [esp + 0x50]
mov ecx, ebx
push dword [esp + 0x48]
mov edx, dword [ebx]
add eax, dword [esp + 0x24]
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x1fc]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00570864
mov esp, ebp
pop ebp
ret 0x14