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

Disassembly:
sub esp, 0xac
push ebx
push esi
push edi
push ebp
mov ecx, dword [esp + 0xc8]
mov esi, dword [esp + 0xcc]
mov eax, dword [esp + 0xc0]
mov ecx, dword [ecx]
mov esi, dword [esi]
mov edi, ecx
mov ebx, ecx
shl edi, 5
mov edx, esi
mov dword [esp + 0x14], edi
mov ebp, edi
mov edi, esi
add ebp, 0x20
inc edi
mov dword [esp + 0x18], ebp
imul edi, dword [esp + 0x18]
inc ebx
inc edx
mov dword [esp + 0x20], 2
mov dword [esp + 0x28], 0x10
imul ebx, edx
mov dword [esp + 0x1c], edi
mov edi, ebp
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x24], edx
shl ebx, 5
add ebx, 8
imul edi, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], edi
mov edi, esi
sub edi, 2
imul edi, dword [esp + 0x18]
mov dword [esp + 0x30], edi
mov edi, esi
sub edi, 4
imul edi, dword [esp + 0x18]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x14]
sub edi, 0x40
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x14]
sub edi, 0x80
dec esi
xor ebx, ebx
cmp esi, 6
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0xd0]
mov dword [esp + 0x44], esi
setle bl
dec ecx
mov edi, dword [edi]
mov dword [esp + 0x48], ebx
xor ebx, ebx
cmp ecx, 6
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], ecx
setle bl
sub eax, dword [esp + 0x10]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
add eax, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x28]
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x60], 0x40
mov dword [esp + 0x64], 0x20
mov dword [esp + 0x68], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
test eax, eax
mov eax, dword [esp + 0x1c]
jle 0x4ee809
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esp + 0x5c]
shl eax, 2
add eax, dword [esp + 0xd4]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x10], edx
xor edx, edx
cmp dword [eax + 4], 0
mov eax, dword [esp + 0x68]
setne dl
add eax, dword [esp + 0x28]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xc4]
add edx, dword [esp + 0x18]
lea edx, [edx + eax - 8]
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x28]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x54]
add edx, eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x28]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x54]
add edx, eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x28]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x54]
add edx, eax
mov eax, dword [esp + 0xc4]
add eax, dword [esp + 0x74]
mov dword [esp + 0xa0], edx
add eax, dword [esp + 0x28]
add eax, 0x18
mov dword [esp + 0xa4], eax
cmp dword [esp + 0x90], 0
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
je 0x4ee1c7
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0xa0]
mov edx, eax
test eax, eax
mov esi, dword [esp + 0x94]
jle 0x4ee1c7
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x18]
add edi, eax
add ecx, eax
add ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4ee105
fld qword [esi]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
mov eax, edi
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4edc6c
mov eax, ecx
cmp dword [esp + 0xac], 0
mov ebx, ecx
jne 0x4edc7a
mov ebx, ebp
fld qword [ebx]
mov ebx, dword [esp + 0x18]
fmul qword [0x57b298]
fsub qword [eax]
mov eax, dword [esp + 0x18]
add esi, eax
add edi, ebx
add ecx, eax
mov ebx, dword [esp + 0x18]
fstp qword [ebp]
add ebp, ebx
mov ebx, edi
fld qword [esi]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4edd25
mov ebx, ecx
cmp dword [esp + 0xac], 0
mov eax, ecx
jne 0x4edd33
mov eax, ebp
fld qword [eax]
mov eax, dword [esp + 0x18]
fmul qword [0x57b298]
fsub qword [ebx]
mov ebx, dword [esp + 0x18]
add esi, ebx
add edi, eax
mov eax, dword [esp + 0x18]
add ecx, ebx
fstp qword [ebp]
add ebp, eax
mov ebx, edi
fld qword [esi]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4eddde
mov ebx, ecx
cmp dword [esp + 0xac], 0
mov eax, ecx
jne 0x4eddec
mov eax, ebp
fld qword [eax]
mov eax, dword [esp + 0x18]
fmul qword [0x57b298]
fsub qword [ebx]
mov ebx, dword [esp + 0x18]
add esi, ebx
add edi, eax
mov eax, dword [esp + 0x18]
add ecx, ebx
fstp qword [ebp]
add ebp, eax
mov ebx, edi
fld qword [esi]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ede97
mov ebx, ecx
cmp dword [esp + 0xac], 0
mov eax, ecx
jne 0x4edea5
mov eax, ebp
fld qword [eax]
mov eax, dword [esp + 0x18]
fmul qword [0x57b298]
fsub qword [ebx]
mov ebx, dword [esp + 0x18]
add esi, ebx
add edi, eax
mov eax, dword [esp + 0x18]
add ecx, ebx
fstp qword [ebp]
add ebp, eax
mov ebx, edi
fld qword [esi]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4edf50
mov ebx, ecx
cmp dword [esp + 0xac], 0
mov eax, ecx
jne 0x4edf5e
mov eax, ebp
fld qword [eax]
mov eax, dword [esp + 0x18]
fmul qword [0x57b298]
fsub qword [ebx]
mov ebx, dword [esp + 0x18]
add esi, ebx
add edi, eax
mov eax, dword [esp + 0x18]
add ecx, ebx
fstp qword [ebp]
add ebp, eax
mov ebx, edi
fld qword [esi]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee009
mov ebx, ecx
cmp dword [esp + 0xac], 0
mov eax, ecx
jne 0x4ee017
mov eax, ebp
fld qword [eax]
mov eax, dword [esp + 0x18]
fmul qword [0x57b298]
fsub qword [ebx]
mov ebx, dword [esp + 0x18]
add esi, ebx
add edi, eax
mov eax, dword [esp + 0x18]
add ecx, ebx
fstp qword [ebp]
add ebp, eax
mov ebx, edi
fld qword [esi]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee0c2
mov ebx, ecx
cmp dword [esp + 0xac], 0
mov eax, ecx
jne 0x4ee0d0
mov eax, ebp
fld qword [eax]
mov eax, dword [esp + 0x18]
fmul qword [0x57b298]
fsub qword [ebx]
mov ebx, dword [esp + 0x18]
add esi, ebx
add edi, eax
mov eax, dword [esp + 0x18]
add ecx, ebx
fstp qword [ebp]
add ebp, eax
sub edx, 7
cmp edx, 6
jg 0x4edbe2
test edx, edx
jle 0x4ee1c7
fld qword [esi]
mov ebx, edi
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee18f
mov ebx, ecx
cmp dword [esp + 0xac], 0
mov eax, ecx
jne 0x4ee19d
mov eax, ebp
fld qword [eax]
mov eax, dword [esp + 0x18]
fmul qword [0x57b298]
fsub qword [ebx]
mov ebx, dword [esp + 0x18]
add esi, ebx
add edi, eax
mov eax, dword [esp + 0x18]
add ecx, ebx
fstp qword [ebp]
add ebp, eax
dec edx
test edx, edx
jg 0x4ee105
cmp dword [esp + 0x10], 0
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
je 0x4ee7b0
test esi, esi
jle 0x4ee7b0
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0xa4]
lea ecx, [edx + ecx + 0x20]
lea ebp, [edx + ebp + 0x20]
add edx, dword [esp + 0x8c]
add edx, 0x20
test ebx, ebx
jne 0x4ee6f6
fld qword [edi]
mov ebx, ecx
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee29f
mov ebx, ebp
cmp dword [esp + 0xac], 0
mov eax, ebp
jne 0x4ee2ad
mov eax, edx
fld qword [eax]
fmul qword [0x57b298]
fsub qword [ebx]
mov ebx, ecx
fstp qword [edx]
fld qword [edi + 0x20]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee344
mov ebx, ebp
cmp dword [esp + 0xac], 0
mov eax, ebp
jne 0x4ee352
mov eax, edx
fld qword [eax + 0x20]
fmul qword [0x57b298]
fsub qword [ebx + 0x20]
mov ebx, ecx
fstp qword [edx + 0x20]
fld qword [edi + 0x40]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee3ec
mov ebx, ebp
cmp dword [esp + 0xac], 0
mov eax, ebp
jne 0x4ee3fa
mov eax, edx
fld qword [eax + 0x40]
fmul qword [0x57b298]
fsub qword [ebx + 0x40]
mov ebx, ecx
fstp qword [edx + 0x40]
fld qword [edi + 0x60]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee494
mov ebx, ebp
cmp dword [esp + 0xac], 0
mov eax, ebp
jne 0x4ee4a2
mov eax, edx
fld qword [eax + 0x60]
fmul qword [0x57b298]
fsub qword [ebx + 0x60]
mov ebx, ecx
fstp qword [edx + 0x60]
fld qword [edi + 0x80]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee53f
mov ebx, ebp
cmp dword [esp + 0xac], 0
mov eax, ebp
jne 0x4ee54d
mov eax, edx
fld qword [eax + 0x80]
fmul qword [0x57b298]
fsub qword [ebx + 0x80]
mov ebx, ecx
fstp qword [edx + 0x80]
fld qword [edi + 0xa0]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee5f3
mov ebx, ebp
cmp dword [esp + 0xac], 0
mov eax, ebp
jne 0x4ee601
mov eax, edx
fld qword [eax + 0xa0]
fmul qword [0x57b298]
fsub qword [ebx + 0xa0]
mov ebx, ecx
fstp qword [edx + 0xa0]
fld qword [edi + 0xc0]
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee6a7
mov ebx, ebp
cmp dword [esp + 0xac], 0
mov eax, ebp
jne 0x4ee6b5
mov eax, edx
sub esi, 7
add edi, 0xe0
fld qword [eax + 0xc0]
add ecx, 0xe0
add ebp, 0xe0
fmul qword [0x57b298]
cmp esi, 6
lea edx, [edx + 0xe0]
fsub qword [ebx + 0xc0]
fstp qword [edx - 0x20]
jg 0x4ee215
test esi, esi
jle 0x4ee7b0
fld qword [edi]
mov ebx, ecx
fst st(1)
fadd qword [0x57b2a0]
fstp st(2)
fadd qword [0x57b2a0]
fld st(1)
fnstcw word [esp + 0xac]
mov ax, word [esp + 0xac]
or ax, 0xc00
mov word [esp + 0xae], ax
fldcw word [esp + 0xae]
fistp dword [esp + 0xa8]
fldcw word [esp + 0xac]
fld st(0)
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
or ax, 0xc00
mov word [esp + 0xb2], ax
fldcw word [esp + 0xb2]
cmp dword [esp + 0xa8], 0
fistp dword [esp + 0xac]
fldcw word [esp + 0xb0]
jne 0x4ee780
mov ebx, ebp
cmp dword [esp + 0xac], 0
mov eax, ebp
jne 0x4ee78e
mov eax, edx
dec esi
lea edi, [edi + 0x20]
fld qword [eax]
lea ecx, [ecx + 0x20]
lea ebp, [ebp + 0x20]
fmul qword [0x57b298]
test esi, esi
lea edx, [edx + 0x20]
fsub qword [ebx]
fstp qword [edx - 0x20]
jg 0x4ee6f6
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
add ebx, dword [esp + 0x80]
mov edx, dword [esp + 0x1c]
add esi, dword [esp + 0x84]
mov ebp, dword [esp + 0x1c]
add edx, dword [esp + 0x88]
add ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x7c]
dec eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x7c], eax
test eax, eax
jg 0x4edb8d
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
inc edi
mov ebx, dword [esp + 0x38]
add ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x14]
add ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
add esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x30]
add edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], edi
add ebp, dword [esp + 0x70]
add eax, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
dec edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x58], edi
test edi, edi
jg 0x4edaa2
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add ecx, 4
mov eax, dword [esp + 0x20]
add ebp, 8
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
test eax, eax
jg 0x4eda54
pop ebp
ffree st(1)
ffree st(0)
pop edi
pop esi
pop ebx
add esp, 0xac
ret 0x18