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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
mov eax, dword [ebp + 0x30]
push ebx
mov ebx, ecx
push esi
mov esi, dword [eax + 4]
push edi
lea eax, [ebx + 0xc8]
mov dword [esp + 0x18], ebx
push esi
mov ecx, eax
mov dword [esp + 0xac], eax
call fcn.004458ed
mov ecx, dword [ebp + 0x30]
lea edi, [esi + 1]
mov eax, dword [eax + 4]
cmp dword [ecx], eax
lea ecx, [esp + 0x150]
cmovbe edi, esi
mov esi, dword [ebp + 0x2c]
sub edi, dword [esi + 4]
push edi
mov dword [esp + 0x6c], edi
call fcn.004eebbc
push dword [esp + 0x2e4]
mov ecx, ebx
push edi
push dword [esi + 4]
call fcn.004edd8b
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
je 0x4ed1b3
lea ecx, [ebx + 0xc4]
call fcn.004efbd8
mov ecx, 0x2009
cmp word [eax], cx
je 0x4ed1b3
jmp 0x4ed1a9
lea edi, [edx - 1]
mov ecx, ebx
push edi
call fcn.004ea28a
test al, al
je 0x4ed1af
mov edx, edi
mov dword [esp + 0x1c], edi
cmp edx, dword [esi]
ja 0x4ed194
jmp 0x4ed1b3
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x7c]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x7c]
push edx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
mov ecx, esi
call fcn.004ee6e1
movd xmm0, dword [ebp + 0x18]
xor edi, edi
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
push edi
mov eax, dword [ecx]
push ebx
movss dword [esp + 0x30], xmm0
call dword [eax + 0x2b0]
cmp dword [ebp + 0x28], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x70], edi
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
je 0x4ed232
mov eax, dword [ebp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x28]
mov dword [ecx + 4], eax
lea eax, [ebp + 0x20]
push eax
lea eax, [esp + 0x88]
mov ecx, esi
push eax
push dword [ebp + 0x2c]
push edi
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push ebx
call fcn.004ee051
mov eax, dword [esp + 0x1c]
mov ecx, eax
call fcn.004cbb16
dec eax
sub eax, 1
je 0x4ed2e1
sub eax, 1
je 0x4ed2be
sub eax, 1
jne 0x4ed305
mov ecx, dword [ebp + 0x2c]
cmp dword [ecx], eax
jne 0x4ed272
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4ed267
mov eax, dword [eax + 4]
jmp 0x4ed269
xor eax, eax
mov edx, dword [ebp + 0x30]
cmp dword [edx], eax
je 0x4ed28a
jmp 0x4ed275
mov edx, dword [ebp + 0x30]
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4ed284
mov eax, dword [eax + 4]
jmp 0x4ed286
xor eax, eax
cmp dword [edx], eax
jne 0x4ed2a6
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x50]
cmp eax, 0xff
je 0x4ed29d
cmp eax, 0xffffffff
jne 0x4ed29f
xor eax, eax
cmp eax, 1
je 0x4ed2c1
jmp 0x4ed31e
lea eax, [esp + 0x7c]
push eax
push ecx
push edi
push dword [ebp + 0x18]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
push ebx
call fcn.004edeb9
jmp 0x4ed31e
mov ecx, dword [ebp + 0x2c]
cmp byte [ebp + 0x10], 0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
subss xmm0, dword [ebp + 0x20]
movss dword [esp + 0x28], xmm0
jne 0x4ed31e
lea eax, [esp + 0x7c]
push eax
push ecx
jmp 0x4ed313
sub edi, dword [ebp + 0x18]
inc edi
movd xmm0, edi
cvtdq2ps xmm0, xmm0
subss xmm0, dword [ebp + 0x20]
mulss xmm0, dword [0x8a9abc]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
cmp byte [ebp + 0x10], 0
jne 0x4ed31e
lea eax, [esp + 0x7c]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0xc]
mov ecx, esi
push ebx
call fcn.004ee556
or dword [esp + 0x1c], 0xffffffff
xor ecx, ecx
mov eax, ecx
mov dword [esp + 0x14], ecx
and dword [esp + 0x48], eax
mov dh, cl
mov dl, cl
mov byte [esp + 0x13], cl
mov edi, ecx
mov dword [esp + 0x60], ecx
mov esi, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
or ecx, 0xffffffff
mov dword [esp + 0x2c], eax
mov byte [esp + 0x12], dh
mov byte [esp + 0x11], dl
mov dword [esp + 0x38], ecx
mov byte [esp + 0x54], 6
cmp dword [esp + 0x68], eax
jbe 0x4ed951
mov eax, dword [esp + 0x2e4]
mov ecx, dword [esp + 0x48]
push dword [eax + ecx*4]
mov ecx, dword [esp + 0xac]
call fcn.004458ed
mov dword [esp + 0x14], eax
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
add ecx, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], ecx
mov ecx, eax
call fcn.004e9c15
mov dword [esp + 0x20], eax
test eax, eax
je 0x4ed93d
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xc4
push ecx
push esp
mov ecx, eax
mov dword [esp + 0x68], eax
call fcn.004263b5
mov ecx, dword [esp + 0x1c]
call fcn.00446161
push ebx
test al, al
je 0x4ed5e4
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x1a8]
test al, al
je 0x4ed406
cvttss2si eax, dword [esp + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x350]
jmp 0x4ed92a
mov ecx, dword [esp + 0x20]
push 0
push ebx
mov eax, dword [ecx]
call dword [eax + 0x2b0]
push eax
mov ecx, ebx
mov dword [esp + 0x70], eax
call fcn.0046cb61
mov ecx, dword [esp + 0x14]
push ebx
mov dword [esp + 0x5c], eax
call fcn.004e9bea
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
push ebx
mov edx, dword [eax]
call dword [edx + 0x1b4]
test eax, eax
jne 0x4ed92a
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x48]
mov dword [esp + 0x44], eax
push edx
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 0x430]
mov ecx, dword [esp + 0x20]
push 0
push ebx
mov eax, dword [ecx]
call dword [eax + 0x2b0]
mov ecx, eax
call fcn.004efb68
dec eax
cmp eax, 7
ja case.default.0x4ed492
jmp dword [eax*4 + 0x4edd43]
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
mov eax, dword [esp + 0x4c]
cmp eax, esi
movzx ecx, byte [esp + 0x13]
cmovle eax, esi
xor edx, edx
inc edx
mov esi, eax
cmp byte [esp + 0x13], dl
cmovb ecx, edx
mov byte [esp + 0x13], cl
jmp 0x4ed57d
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
mov eax, dword [esp + 0x4c]
cmp eax, esi
movzx ecx, byte [esp + 0x12]
cmovle eax, esi
xor edx, edx
inc edx
mov esi, eax
cmp byte [esp + 0x12], dl
cmovb ecx, edx
mov byte [esp + 0x12], cl
jmp 0x4ed57d
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
mov eax, dword [esp + 0x4c]
cmp eax, esi
movzx ecx, byte [esp + 0x11]
cmovle eax, esi
xor edx, edx
inc edx
mov esi, eax
cmp byte [esp + 0x11], dl
cmovb ecx, edx
mov byte [esp + 0x11], cl
jmp 0x4ed57d
mov eax, dword [esp + 0x40]
cmp eax, edi
mov ecx, dword [esp + 0x44]
cmovle eax, edi
cmp ecx, dword [esp + 0x2c]
mov edi, eax
cmovle ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
jmp 0x4ed57d
mov ecx, dword [esp + 0x20]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x434]
mov ecx, dword [esp + 0x40]
sub ecx, eax
cmp ecx, edi
cmovle ecx, edi
mov edi, ecx
mov ecx, dword [esp + 0x44]
add eax, ecx
cmp eax, dword [esp + 0x2c]
jle 0x4ed57d
mov dword [esp + 0x2c], eax
jmp 0x4ed57d
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
cmp dword [esp + 0x4c], esi
cmovg esi, dword [esp + 0x4c]
cvttss2si eax, dword [esp + 0x28]
inc dword [esp + 0x60]
push ecx
push ecx
mov ecx, esp
and dword [ecx + 4], 0
mov dword [ecx], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x364]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc0]
push 0
push ebx
push eax
call fcn.0047f1f4
push dword [esp + 0x50]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
inc ecx
movd xmm0, ecx
mov ecx, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
lea ecx, [ecx + 0xdc]
movss dword [esp + 0x24], xmm0
call fcn.004272ac
mov edx, dword [esp + 0x18]
movss dword [eax], xmm0
jmp 0x4ed877
mov ecx, dword [esp + 0x18]
call fcn.004e9b8e
mov dword [esp + 0x34], eax
mov byte [esp + 0x54], 6
cmp dword [esp + 0x6c], eax
jne 0x4ed61b
mov ecx, dword [esp + 0x14]
push ebx
call fcn.004e9bea
cmp dword [esp + 0x70], eax
jne 0x4ed617
cmp dword [esp + 0x58], 0
jne 0x4ed6ca
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push ebx
mov dword [esp + 0x70], eax
call fcn.004e9bea
push dword [esp + 0x34]
mov ecx, ebx
mov dword [esp + 0x74], eax
call fcn.0046cb61
mov dword [esp + 0x58], eax
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x34]
add eax, 0x24
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x74], eax
cmp dword [eax], 0
jbe 0x4ed69c
mov eax, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [eax + 0x24]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov ecx, dword [esp + 0x78]
push eax
push ebx
call fcn.004e78bb
mov ecx, eax
sub eax, dword [esp + 0x30]
sub eax, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add edx, eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
call fcn.004e9c15
cmp eax, dword [ebp + 0xc]
je 0x4ed6c5
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x398]
test ecx, ecx
je 0x4ed6c5
cmp ecx, 0xffffffff
je 0x4ed6c5
mov al, cl
mov byte [esp + 0x54], al
jmp 0x4ed6ca
mov byte [esp + 0x54], 6
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [edx + 4]
cmp dword [eax], ecx
jbe 0x4ed6ef
mov ecx, dword [esp + 0x18]
push eax
call fcn.004ee832
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
jmp 0x4ed6f1
mov eax, ecx
mov ecx, dword [edx + 8]
add ecx, eax
cmp dword [esp + 0x7c], ecx
jae 0x4ed71d
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
call fcn.004ee832
mov ecx, dword [esp + 0x50]
cmp ecx, eax
mov edx, dword [esp + 0x14]
cmova eax, ecx
mov dword [esp + 0x64], eax
jmp 0x4ed725
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
jb 0x4ed780
mov ecx, dword [esp + 0x5c]
xor eax, eax
inc eax
mov dword [esp + 0xb0], 0x886778
mov dword [esp + 0xb4], eax
mov ecx, dword [ecx]
lea eax, [ecx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [edx + 4]
lea eax, [ecx + eax*2]
mov dword [esp + 0xb8], eax
lea ecx, [esp + 0xb8]
mov eax, dword [edx + 8]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb0]
push eax
call fcn.00433ecc
test al, al
je 0x4ed92a
movzx eax, byte [esp + 0x54]
sub eax, 1
je 0x4ed834
sub eax, 1
je 0x4ed810
sub eax, 1
je 0x4ed7f2
sub eax, 4
je 0x4ed834
sub eax, 1
je 0x4ed7f2
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
cmp ecx, edx
je 0x4ed7d7
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 0x434]
mov ecx, dword [esp + 0x24]
sub ecx, eax
add eax, dword [esp + 0x30]
cmp ecx, edi
cmovle ecx, edi
cmp eax, dword [esp + 0x2c]
mov edi, ecx
cmovle eax, dword [esp + 0x2c]
jmp 0x4ed7ec
mov eax, dword [esp + 0x24]
cmp eax, edi
cmovle eax, edi
mov edi, eax
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x2c]
jle 0x4ed850
mov dword [esp + 0x2c], eax
jmp 0x4ed850
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
cmp eax, esi
cmovle eax, esi
xor ebx, ebx
inc ebx
mov esi, eax
cmp byte [esp + 0x11], bl
jae 0x4ed850
mov byte [esp + 0x11], bl
jmp 0x4ed850
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
movzx ecx, byte [esp + 0x12]
cmp eax, esi
cmovle eax, esi
xor ebx, ebx
inc ebx
mov esi, eax
cmp byte [esp + 0x12], bl
cmovb ecx, ebx
mov byte [esp + 0x12], cl
jmp 0x4ed850
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
cmp eax, esi
cmovle eax, esi
xor ebx, ebx
inc ebx
mov esi, eax
cmp byte [esp + 0x13], bl
jae 0x4ed850
mov byte [esp + 0x13], bl
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xdc]
lea eax, [ecx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x68]
push dword [esp + 0x58]
call fcn.004ee8df
movss dword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x14]
xor ebx, ebx
inc ebx
test byte [ecx + 0x16], bl
je 0x4ed88b
addss xmm0, dword [esp + 0x28]
jmp 0x4ed891
movss xmm0, dword [esp + 0x28]
mov eax, dword [edx + 0xe8]
movss dword [esp + 0x34], xmm0
test eax, eax
je 0x4ed8a6
mov edx, dword [eax + 4]
jmp 0x4ed8a8
xor edx, edx
mov ax, word [ecx + 0x16]
shr ax, 0xd
and al, bl
mov ebx, dword [ecx + 0x18]
mov byte [esp + 0x78], al
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x5c], eax
movzx eax, byte [ecx + 0x20]
push eax
mov al, byte [ecx + 0x16]
push edx
push dword [esp + 0x80]
and al, 0x1f
movzx eax, al
push eax
push dword [ebp + 8]
call fcn.004e9bea
mov ecx, dword [esp + 0x60]
movss xmm1, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x78]
push ebx
push dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
push dword [esp + 0x78]
mov ecx, dword [esp + 0x40]
call fcn.004eeb1c
movss xmm0, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
addss xmm0, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
cmove ecx, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
movss dword [esp + 0x28], xmm0
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x68]
jb 0x4ed369
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov dl, byte [esp + 0x11]
mov dh, byte [esp + 0x12]
mov dword [esp + 0x14], edi
lea ebx, [eax + edi]
cmp esi, ebx
jle 0x4ed97d
test dh, dh
jne 0x4ed966
cmp byte [esp + 0x13], dh
je 0x4ed994
test dl, dl
je 0x4ed979
mov edx, esi
sub edx, eax
sub edx, edi
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [esp + 0x14], edi
mov eax, esi
sub eax, edi
mov edx, dword [esp + 0x1c]
cmp edx, 0xffffffff
je 0x4ed9aa
cmp edx, 0xfffffffe
je 0x4ed9aa
mov dword [esp + 0x94], edx
jmp 0x4ed9b2
mov ebx, esi
sub ebx, eax
test dl, dl
je 0x4ed9a4
mov edi, ebx
mov dword [esp + 0x14], edi
jmp 0x4ed97d
sub ebx, edi
mov eax, ebx
jmp 0x4ed96e
and dword [esp + 0x94], 0
cmp ecx, 0xffffffff
je 0x4ed9c5
cmp ecx, 0xfffffffe
je 0x4ed9c5
mov dword [esp + 0x98], ecx
jmp 0x4ed9cd
and dword [esp + 0x98], 0
mov ecx, dword [ebp + 0x2c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x8c], edi
mov ecx, dword [ecx]
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebp + 0x30]
mov ecx, dword [ecx]
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x88], ecx
xor ecx, ecx
mov dword [esp + 0xa4], ecx
lea ecx, [eax + edi]
mov eax, dword [ebp + 0x34]
lea edi, [ebx + 0xe8]
mov dword [esp + 0x90], ecx
mov dword [eax], ecx
mov esi, dword [edi]
test esi, esi
je 0x4eda23
mov esi, dword [esi + 4]
jmp 0x4eda25
xor esi, esi
xor ecx, ecx
lea eax, [esi + 1]
test eax, eax
cmovs eax, ecx
mov ecx, edi
push eax
call fcn.004efa80
mov edi, dword [edi]
shl esi, 5
add edi, 0xc
add edi, esi
lea esi, [esp + 0x88]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x68], ecx
jbe 0x4edd2b
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x60], 0
jle 0x4edd2b
mov eax, dword [esp + 0x2e4]
push dword [eax + ecx*4]
lea ecx, [ebx + 0xc8]
call fcn.004458ed
push ecx
push ecx
push esp
lea ecx, [ebx + 0xc4]
mov edi, eax
call fcn.004263b5
mov ecx, edi
call fcn.00446161
test al, al
je 0x4edd18
mov ecx, edi
call fcn.004e9c15
mov ebx, eax
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x4edd2b
mov edx, dword [ebx]
mov ecx, ebx
push dword [ebp + 8]
call dword [edx + 0x1b4]
test eax, eax
jne case.default.0x4edb28
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xb8]
mov edi, dword [ebx]
push edx
mov eax, dword [ecx]
call dword [eax + 0x348]
mov ecx, ebx
push dword [eax + 4]
push dword [ebp + 8]
call dword [edi + 0x490]
push eax
push dword [ebp + 8]
mov ecx, ebx
call dword [edi + 0x450]
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [ebp + 8]
dec dword [esp + 0x60]
push 0
push edi
call dword [eax + 0x2b0]
mov eax, dword [eax + 0x398]
test eax, eax
je 0x4edb1c
cmp eax, 0xffffffff
jne 0x4edb1f
push 6
pop eax
cmp eax, 9
ja case.default.0x4edb28
jmp dword [eax*4 + 0x4edd63]
lea ecx, [esp + 0x1c]
xor eax, eax
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], eax
push ecx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
push ecx
push edi
mov ecx, ebx
call dword [eax + 0x430]
push dword [ebp + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x434]
mov ecx, dword [esp + 0x38]
mov edi, eax
add ecx, dword [esp + 0x48]
cmp dword [esp + 0x1c], ecx
push ecx
mov ecx, ebx
jle 0x4edba3
lea eax, [esp + 0xc4]
push eax
call fcn.0047f499
mov eax, dword [eax + 4]
sub eax, dword [esp + 0x1c]
add eax, edi
add eax, esi
mov edx, dword [ebx]
mov ecx, ebx
add eax, dword [ebp + 0x14]
push eax
call dword [edx + 0x358]
jmp case.default.0x4edb28
lea eax, [esp + 0xd4]
push eax
call fcn.0047f499
mov eax, dword [eax + 4]
sub eax, dword [esp + 0x48]
jmp 0x4edb8c
push ecx
lea eax, [esp + 0xe4]
mov ecx, ebx
push eax
call fcn.0047f499
mov eax, dword [eax + 4]
jmp 0x4edb90
push 0
push edi
lea eax, [esp + 0xf8]
mov ecx, ebx
push eax
call fcn.0047f1f4
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x90]
dec eax
add eax, ecx
cdq
sub eax, edx
mov edi, eax
lea eax, [esp + 0x100]
sar edi, 1
push ecx
push eax
mov ecx, ebx
call fcn.0047f499
mov eax, dword [eax + 4]
add eax, edi
jmp 0x4edb90
push 0
push edi
lea eax, [esp + 0x118]
mov ecx, ebx
push eax
call fcn.0047f1f4
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 1]
cmp eax, dword [esp + 0x90]
jge 0x4edc97
lea ecx, [ebx + 0x10]
call fcn.0042d6c2
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2b0]
push eax
mov ecx, edi
call fcn.0046cb61
mov eax, dword [eax + 0x24]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x1c]
sar ecx, 1
lea eax, [eax + 1]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
neg eax
sub eax, ecx
mov ecx, dword [esp + 0x90]
lea edi, [eax + esi]
lea eax, [edx + 1]
add eax, edi
cmp eax, ecx
jle 0x4edc8b
mov edi, ecx
lea eax, [edx + 1]
sub edi, eax
lea eax, [esp + 0x120]
jmp 0x4edbfe
push ecx
lea eax, [esp + 0x134]
mov ecx, ebx
push eax
call fcn.0047f499
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x90]
inc edx
mov edi, dword [ebx]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
mov ecx, ebx
add eax, dword [ebp + 0x14]
push eax
call dword [edi + 0x358]
mov esi, dword [esp + 0x14]
jmp case.default.0x4edb28
push ecx
lea eax, [esp + 0x144]
mov ecx, ebx
push eax
call fcn.0047f499
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x38]
mov edi, dword [eax + 0xc]
lea eax, [esp + 0xb0]
push eax
call dword [ebx + 0x348]
mov ecx, dword [esp + 0x90]
sub ecx, dword [eax + 4]
sub ecx, edi
add ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x3c]
call dword [ebx + 0x358]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x58], ecx
cmp ecx, dword [esp + 0x68]
jb 0x4eda61
lea ecx, [esp + 0x2e0]
call fcn.00421c2f
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x30