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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [section..data]
and dword [ebp - 0x1d0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1e4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
lea edi, [ebp - 0x2ac]
push edi
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x1c4], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1d4], eax
mov eax, dword [eax + 8]
add edi, ecx
push edi
add eax, edx
push eax
push ecx
push edx
lea ecx, [esi + 0xfc]
mov dword [ebp - 0x1c8], esi
call fcn.4ec5203b
test eax, eax
je 0x4ed7a520
lea ecx, [ebp - 0x46c]
call fcn.4ec582f0
mov ecx, dword [ebp - 0x1c4]
and dword [ebp - 0x204], 0
add ecx, 0xfffffff4
mov eax, dword [ecx]
add esi, 0x7c
push esi
mov dword [ebp - 0x1c0], esi
call dword [eax + 0x3c]
test eax, eax
mov dword [ebp - 0x1e0], eax
je 0x4ed79c39
mov esi, dword [ebp - 0x1d4]
lea edi, [ebp - 0x200]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
xor edx, edx
inc ecx
cmp eax, ecx
mov dword [ebp - 0x1d8], edx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1ec], edx
je 0x4ed796be
cmp eax, 2
je 0x4ed796b6
cmp eax, 3
je 0x4ed78f92
jle 0x4ed796d2
cmp eax, 5
jg 0x4ed796d2
mov ecx, dword [ebp - 0x1c4]
mov esi, dword [ecx]
add ecx, 0xfffffff4
xor eax, eax
cmp esi, 4
sete al
xor edi, edi
cmp dword [ebx + 0x78], edi
jne 0x4ed78f46
cmp dword [ebx + 0x40], edi
je 0x4ed78f46
cmp dword [ebx + 0x14], edi
mov dword [ebp - 0x1d8], 1
je 0x4ed78f4c
mov dword [ebp - 0x1d8], edi
cmp esi, 3
jne 0x4ed78f56
call fcn.4ed77db6
cmp eax, edi
je 0x4ed795d1
mov eax, dword [ebp - 0x1d4]
mov edx, dword [eax + 8]
mov ecx, 0x100
cmp edx, ecx
mov dword [ebp - 0x1f8], edx
jl 0x4ed78f7c
mov dword [ebp - 0x1f8], ecx
mov eax, dword [eax + 0xc]
cmp eax, ecx
jge 0x4ed795c6
mov dword [ebp - 0x1f4], eax
jmp 0x4ed796d2
mov eax, dword [ebp - 0x1c4]
add eax, 8
push eax
lea ecx, [ebp - 0x3f4]
call fcn.4ec58d1b
push dword [ebp - 0x1c0]
lea eax, [ebp - 0x3f4]
push eax
push eax
call fcn.4ec5ba87
cmp dword [ebx + 0x14], 0
jne 0x4ed78f18
cmp dword [ebx + 0x78], 0
jne 0x4ed78fd4
cmp dword [ebx + 0x40], 0
je 0x4ed78f18
test byte [ebp - 0x3d0], 8
jne 0x4ed78f18
lea ecx, [ebp - 0x344]
call fcn.4ec582f0
lea ecx, [ebp - 0x31c]
call fcn.4ec582f0
lea ecx, [ebp - 0x444]
call fcn.4ec582f0
lea ecx, [ebp - 0x36c]
call fcn.4ec582f0
lea ecx, [ebp - 0x2f4]
call fcn.4ec582f0
fldz
mov eax, dword [ebp - 0x1c4]
fstp dword [ebp - 0x228]
fldz
lea esi, [eax + 0x34]
fstp dword [ebp - 0x22c]
lea edi, [ebp - 0x2c0]
movsd dword es:[edi], dword [esi]
fldz
fstp dword [ebp - 0x230]
movsd dword es:[edi], dword [esi]
fldz
fstp dword [ebp - 0x234]
fldz
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0x260]
fldz
add eax, 8
push eax
fstp dword [ebp - 0x264]
lea ecx, [ebp - 0x494]
movsd dword es:[edi], dword [esi]
call fcn.4ec58d1b
push 2
lea eax, [ebp - 0x24c]
pop ecx
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax]
add eax, 8
dec ecx
jne 0x4ed79073
mov esi, dword [ebp - 0x1c4]
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24c], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x248], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x244], eax
mov eax, dword [esi + 0xc4]
push 2
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x214]
pop ecx
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax]
add eax, 8
dec ecx
jne 0x4ed790c1
mov ecx, dword [ebp - 0x1c0]
push 2
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.4ec629f5
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.4ec87e32
test eax, eax
jne 0x4ed78f18
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.4ec9bcb1
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x20c]
fadd dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x214]
push eax
fstp dword [ebp - 0x264]
call fcn.4ed009fc
fstp dword [ebp - 0x1dc]
fld dword [ebp - 0x210]
xor edi, edi
inc edi
fchs
push edi
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x36c]
fld dword [ebp - 0x214]
fchs
fstp dword [esp]
call fcn.4ec51b76
fld dword [ebp - 0x1dc]
push edi
push ecx
fchs
lea ecx, [ebp - 0x36c]
fstp dword [esp]
call fcn.4ec88f1f
fld dword [ebp - 0x210]
push edi
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x36c]
fld dword [ebp - 0x214]
fstp dword [esp]
call fcn.4ec51b76
fld dword [ebp - 0x210]
push edi
push ecx
fchs
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x2f4]
fld dword [ebp - 0x214]
fchs
fstp dword [esp]
call fcn.4ec51b76
fld dword [ebp - 0x1dc]
push edi
push ecx
lea ecx, [ebp - 0x2f4]
fstp dword [esp]
call fcn.4ec88f1f
fld dword [ebp - 0x210]
push edi
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x2f4]
fld dword [ebp - 0x214]
fstp dword [esp]
call fcn.4ec51b76
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x344]
call fcn.4ec51a55
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x344]
push eax
push eax
call fcn.4ec5ba87
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x31c]
call fcn.4ec51a55
lea ecx, [ebp - 0x31c]
call fcn.4ec5ada6
test eax, eax
jne 0x4ed78f18
mov edi, dword [ebp - 0x1e4]
lea eax, [ebp - 0x344]
push eax
mov ecx, edi
call fcn.4ec65f20
fldz
mov eax, dword [edi]
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x234]
fldz
fstp dword [esp]
push 0
push 0
push ecx
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0x31c]
push eax
mov ecx, edi
call fcn.4ec65f20
fld dword [ebp - 0x22c]
xor edi, edi
push ecx
fstp dword [esp]
mov dword [ebp - 0x200], edi
mov dword [ebp - 0x1fc], edi
call fcn.4ecfe31e
fld dword [ebp - 0x230]
push edi
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x2f4]
fld dword [ebp - 0x234]
mov dword [ebp - 0x1f8], eax
fstp dword [esp]
mov dword [ebp - 0x1f4], 1
call fcn.4ec51b76
fld dword [ebp - 0x230]
push edi
fchs
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x444]
fld dword [ebp - 0x234]
fchs
fstp dword [esp]
call fcn.4ec51b76
push dword [esi + 0x54]
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [esi - 0xc]
call fcn.4ed016d8
test eax, eax
jne 0x4ed78f18
mov edi, dword [ebp - 0x1c4]
push 0x26200a
lea eax, [ebp - 0x1ec]
push eax
lea eax, [edi - 0xc]
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x444]
push eax
mov eax, dword [ebp - 0x1c8]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.4ed075ff
mov ecx, dword [ebp - 0x1c4]
add edi, 0x34
lea esi, [ebp - 0x2c0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x494]
push eax
add ecx, 8
movsd dword es:[edi], dword [esi]
call fcn.4ec51a55
cmp dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x24c]
mov dword [eax + 0xb8], ecx
mov ecx, dword [ebp - 0x248]
mov dword [eax + 0xbc], ecx
mov ecx, dword [ebp - 0x244]
mov dword [eax + 0xc0], ecx
mov ecx, dword [ebp - 0x240]
mov dword [eax + 0xc4], ecx
jne 0x4ed7a51a
push dword [ebp - 0x1e8]
push dword [ebp - 0x1c8]
call fcn.4ed770ed
mov edi, eax
test edi, edi
je 0x4ed795ae
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x29c]
push ecx
mov ecx, dword [ebp - 0x1ec]
push 0x26200a
push 1
push eax
call fcn.4ec67d08
mov esi, eax
test esi, esi
jne 0x4ed7959e
mov eax, dword [ebx]
push esi
lea ecx, [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x1f0]
push ecx
push dword [ebp - 0x1d4]
mov ecx, ebx
push dword [ebp - 0x1c8]
mov dword [ebp - 0x1dc], esi
push edi
call dword [eax + 0x14]
cmp dword [ebx + 0x78], esi
je 0x4ed79495
mov ecx, dword [ebp - 0x1e4]
cmp dword [ecx + 0x44], 4
jne 0x4ed79495
call fcn.4ed779be
test eax, eax
je 0x4ed79495
push dword [ebp - 0x1e4]
mov eax, dword [ebx]
push dword [ebp - 0x1c8]
mov ecx, ebx
push edi
call dword [eax + 0x68]
fld dword [ebp - 0x228]
push ecx
fstp dword [esp]
lea eax, [ebp - 0x2f4]
push eax
push esi
push 0xf00021
lea eax, [ebp - 0x29c]
push eax
push edi
mov ecx, ebx
call fcn.4ed789c0
mov esi, eax
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x6c]
jmp 0x4ed79576
fld dword [ebp - 0x228]
push ecx
fstp dword [esp]
lea eax, [ebp - 0x2f4]
push eax
push 1
push 0x5a0049
lea eax, [ebp - 0x29c]
push eax
push edi
mov ecx, ebx
call fcn.4ed789c0
mov esi, eax
test esi, esi
jne 0x4ed79576
push eax
push 2
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1b8]
push dword [ebp - 0x1e4]
call fcn.4ec9d24e
cmp dword [ebp - 0x1b8], 0x47764331
jne 0x4ed7956b
cmp dword [ebx + 0x78], esi
je 0x4ed794fb
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x4ed7950c
movzx eax, byte [ebx + 0x84]
push 1
push eax
mov ecx, ebx
call fcn.4ed77149
push 9
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_SetROP2]
push esi
push edi
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1cc], eax
call fcn.4eca12d4
push dword [ebp - 0x1cc]
mov esi, eax
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.GDI32.dll_SetROP2]
test esi, esi
jne 0x4ed7956b
fld dword [ebp - 0x228]
push ecx
fstp dword [esp]
lea eax, [ebp - 0x2f4]
push eax
push 1
push 0x5a0049
lea eax, [ebp - 0x29c]
push eax
push edi
mov ecx, ebx
call fcn.4ed789c0
mov esi, eax
lea ecx, [ebp - 0x1b8]
call fcn.4ec9c502
push dword [ebp - 0x1dc]
mov eax, dword [ebx]
push dword [ebp - 0x1f0]
mov ecx, ebx
push edi
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x1ec]
push 0
lea eax, [ebp - 0x29c]
push eax
call fcn.4ec67815
mov ecx, dword [ebp - 0x1c8]
push 0
push edi
call fcn.4ec59d6c
jmp 0x4ed795b4
mov esi, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, esi
jmp 0x4ed7a520
mov dword [ebp - 0x1f4], ecx
jmp 0x4ed796d2
mov esi, dword [ebp - 0x1d4]
mov edi, dword [esi + 8]
lea eax, [edi - 0x100]
cdq
push 5
pop ecx
idiv ecx
mov ecx, 0x100
add eax, ecx
cmp eax, edi
mov eax, edi
jge 0x4ed79600
add eax, 0xffffff00
cdq
push 5
pop edi
idiv edi
add eax, ecx
mov edx, 0x400
cmp eax, edx
jge 0x4ed79633
mov eax, dword [esi + 8]
add eax, 0xffffff00
cdq
push 5
pop edi
idiv edi
add eax, ecx
cmp eax, dword [esi + 8]
mov eax, dword [esi + 8]
jge 0x4ed7962b
add eax, 0xffffff00
cdq
idiv edi
add eax, ecx
mov dword [ebp - 0x1f8], eax
jmp 0x4ed79639
mov dword [ebp - 0x1f8], edx
mov eax, dword [esi + 0xc]
add eax, 0xffffff00
cdq
push 5
pop edi
idiv edi
add eax, ecx
cmp eax, dword [esi + 0xc]
jge 0x4ed79669
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1cc], eax
add eax, 0xffffff00
cdq
idiv edi
mov edi, dword [ebp - 0x1cc]
add eax, ecx
jmp 0x4ed7966e
mov edi, dword [esi + 0xc]
mov eax, edi
mov edx, 0x400
cmp eax, edx
jge 0x4ed796ae
mov esi, dword [esi + 0xc]
lea eax, [esi - 0x100]
mov dword [ebp - 0x1cc], esi
cdq
push 5
pop esi
idiv esi
add eax, ecx
cmp eax, dword [ebp - 0x1cc]
jge 0x4ed796a6
lea eax, [edi - 0x100]
cdq
idiv esi
add eax, ecx
jmp 0x4ed78f87
mov dword [ebp - 0x1f4], edi
jmp 0x4ed796d2
mov dword [ebp - 0x1f4], edx
jmp 0x4ed796d2
mov dword [ebp - 0x1f4], ecx
jmp 0x4ed796c4
mov dword [ebp - 0x1f8], ecx
xor eax, eax
cmp dword [ebx + 0x14], edx
sete al
mov dword [ebp - 0x1d8], eax
cmp dword [ebx + 0x78], 0
jne 0x4ed796eb
cmp dword [ebx + 0x14], 1
je 0x4ed796eb
cmp dword [ebp - 0x1d8], 0
je 0x4ed79c39
push dword [ebp - 0x1e8]
push dword [ebp - 0x1c8]
call fcn.4ed770ed
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x1bc], eax
je 0x4ed79c39
mov eax, dword [ebp - 0x1d4]
fldz
fstp dword [ebp - 0x214]
lea ecx, [ebp - 0x2f4]
fldz
mov dword [ebp - 0x200], edi
fstp dword [ebp - 0x210]
mov dword [ebp - 0x1fc], edi
fild dword [ebp - 0x1f8]
fstp dword [ebp - 0x20c]
fild dword [ebp - 0x1f4]
fstp dword [ebp - 0x208]
fild dword [eax]
fstp dword [ebp - 0x24c]
fild dword [eax + 4]
fstp dword [ebp - 0x248]
fild dword [eax + 8]
fstp dword [ebp - 0x244]
fild dword [eax + 0xc]
fstp dword [ebp - 0x240]
call fcn.4ec582f0
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.4ec51abd
lea eax, [ebp - 0x2f4]
push eax
push dword [ebp - 0x1c0]
push eax
call fcn.4ec5ba87
mov ecx, dword [ebp - 0x1c4]
add ecx, 0xfffffff4
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x204], esi
je 0x4ed79834
cmp dword [ebx + 0x78], edi
jne 0x4ed797cf
inc edi
cmp dword [ebx + 0x14], edi
jne 0x4ed797cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov dword [ebx + 0x78], edi
cmp dword [ebp - 0x1e0], 4
je 0x4ed797e1
cmp dword [ebp - 0x1e0], 5
jne 0x4ed797ef
and dword [esi + 8], 0
mov dword [esi + 0x14c], 0x3f866666
push 0x26200a
lea eax, [ebp - 0x1ec]
push eax
push esi
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x2f4]
push eax
mov eax, dword [ebp - 0x1c8]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.4ed075ff
mov edi, eax
mov eax, dword [esi]
push 1
mov ecx, esi
mov dword [ebp - 0x1d0], edi
call dword [eax]
and dword [ebp - 0x204], 0
jmp 0x4ed7983d
push 3
pop edi
mov dword [ebp - 0x1d0], edi
test edi, edi
jne 0x4ed79c12
mov ecx, dword [ebp - 0x1ec]
test ecx, ecx
je 0x4ed79c12
mov esi, dword [ebx + 0x14]
dec esi
neg esi
sbb esi, esi
xor eax, eax
push eax
push eax
lea edx, [ebp - 0x29c]
push edx
push 0x26200a
and esi, 0xfffffffc
push 1
add esi, 4
push eax
or esi, 2
call fcn.4ec67d08
test eax, eax
jne 0x4ed79bed
mov eax, dword [ebx]
push edi
lea ecx, [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x1f0]
push ecx
push dword [ebp - 0x1d4]
mov ecx, ebx
push dword [ebp - 0x1c8]
mov dword [ebp - 0x1dc], edi
push dword [ebp - 0x1bc]
call dword [eax + 0x14]
cmp dword [ebp - 0x1d8], edi
je 0x4ed79a45
cmp dword [ebp - 0x1f4], 1
je 0x4ed798d4
cmp dword [ebp - 0x1f8], 1
jne 0x4ed79a45
cmp dword [ebx + 0x78], edi
je 0x4ed798f3
mov ecx, dword [ebp - 0x1e4]
cmp dword [ecx + 0x44], 4
jne 0x4ed798ee
call fcn.4ed779be
test eax, eax
jne 0x4ed798f8
cmp dword [ebx + 0x78], edi
jne 0x4ed7994d
cmp dword [ebx + 0x40], edi
jne 0x4ed7994d
push dword [ebp - 0x1e4]
mov eax, dword [ebx]
push dword [ebp - 0x1c8]
mov ecx, ebx
push dword [ebp - 0x1bc]
call dword [eax + 0x68]
push 0
push 0xf00021
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x1bc]
mov ecx, ebx
call fcn.4ed775f6
push dword [ebp - 0x1bc]
mov edi, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
jmp 0x4ed79bc0
push 1
push 0x5a0049
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x1bc]
mov ecx, ebx
call fcn.4ed775f6
mov edi, eax
test edi, edi
jne 0x4ed79bc0
push eax
push esi
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1b8]
push dword [ebp - 0x1e4]
call fcn.4ec9d24e
cmp dword [ebp - 0x1b8], 0x47764331
jne 0x4ed79a35
cmp dword [ebx + 0x78], edi
je 0x4ed799b7
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x4ed799c8
movzx eax, byte [ebx + 0x84]
push 1
push eax
mov ecx, ebx
call fcn.4ed77149
mov esi, dword [sym.imp.GDI32.dll_SetROP2]
push 9
push dword [ebp - 0x1bc]
mov edi, eax
call esi
push edi
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1cc], eax
call fcn.4eca12d4
push dword [ebp - 0x1cc]
mov edi, eax
push dword [ebp - 0x1bc]
neg edi
sbb edi, edi
inc edi
call esi
test edi, edi
jne 0x4ed79a35
push 1
push 0x5a0049
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x1bc]
mov ecx, ebx
call fcn.4ed775f6
mov edi, eax
lea ecx, [ebp - 0x1b8]
call fcn.4ec9c502
jmp 0x4ed79bc0
push dword [ebp - 0x1e4]
mov eax, dword [ebx]
push dword [ebp - 0x1c8]
mov ecx, ebx
push dword [ebp - 0x1bc]
call dword [eax + 0x68]
push edi
lea ecx, [ebp - 0x3cc]
call fcn.4ec59eae
push dword [ebp - 0x298]
mov ecx, dword [ebp - 0x1ec]
push dword [ebp - 0x29c]
lea eax, [ebp - 0x3cc]
push eax
call fcn.4ec93e11
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x3c8], eax
imul eax, ecx
mov edx, dword [ebp - 0x294]
lea eax, [eax + eax*2]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebx + 0x14]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
or eax, 2
cmp dword [ebp - 0x1d8], edi
mov dword [ebp - 0x3c4], ecx
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x3c0], 0x26200a
mov dword [ebp - 0x3ac], 3
je 0x4ed79aff
movzx esi, byte [ebx + 0x3d]
movzx ecx, byte [ebx + 0x3c]
add esi, ecx
sar esi, 1
jmp 0x4ed79b02
or esi, 0xffffffff
xor ecx, ecx
cmp dword [0x4edd14f0], ecx
sete cl
push ecx
push esi
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x3cc]
push eax
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x92c]
call fcn.4ed8023b
xor edi, edi
inc edi
cmp dword [ebp - 0x92c], 0x47764331
jne 0x4ed79b9d
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
add eax, edx
push 0xcc0020
mov dword [ebp - 0x2b4], eax
push 0
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x1bc]
add esi, ecx
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x92c]
mov dword [ebp - 0x2c4], edx
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2bc], edx
call fcn.4ed80ad8
mov edi, eax
neg edi
sbb edi, edi
inc edi
push dword [ebp - 0x1bc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
lea ecx, [ebp - 0x92c]
call fcn.4ed80f91
lea ecx, [ebp - 0x3cc]
call fcn.4ec5990a
push dword [ebp - 0x1dc]
mov eax, dword [ebx]
push dword [ebp - 0x1f0]
mov ecx, ebx
push dword [ebp - 0x1bc]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x1ec]
push 0
lea eax, [ebp - 0x29c]
push eax
call fcn.4ec67815
mov ecx, dword [ebp - 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x1c8]
push 0
push dword [ebp - 0x1bc]
call fcn.4ec59d6c
mov eax, edi
jmp 0x4ed7a520
mov ecx, dword [ebp - 0x1c8]
push 0
push dword [ebp - 0x1bc]
call fcn.4ec59d6c
mov dword [ebp - 0x2f4], 0x4ec58d64
mov dword [ebp - 0x2f0], 0x4c494146
mov eax, dword [ebx + 0x14]
mov edi, dword [ebp - 0x1e8]
mov esi, dword [ebp - 0x1c4]
xor ecx, ecx
sub eax, ecx
mov dword [ebp - 0x1dc], ecx
je 0x4ed79cee
dec eax
je 0x4ed79c63
push 6
pop eax
jmp 0x4ed7a520
mov eax, dword [ebx + 0x74]
xor edx, edx
cmp eax, ecx
sete dl
cmp eax, ecx
mov dword [ebp - 0x1d8], edx
je 0x4ed79cc8
cmp dword [ebx + 0x78], ecx
mov dword [ebp - 0x1bc], 2
jne 0x4ed79c90
mov dword [ebp - 0x1bc], 0x42
cmp dword [ebx + 0x108], 1
jne 0x4ed79ca6
cmp dword [ebx + 0x10c], 1
je 0x4ed79d4c
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x1dc], 1
call fcn.4ec51a55
xor ecx, ecx
jmp 0x4ed79d4c
cmp dword [ebx + 0x7c], ecx
je 0x4ed79cd9
mov dword [ebp - 0x1bc], 5
jmp 0x4ed79d4c
mov eax, dword [ebx + 0x78]
neg eax
sbb eax, eax
and eax, 0xffffffd0
add eax, 0x31
mov dword [ebp - 0x1bc], eax
jmp 0x4ed79d4c
cmp dword [ebx + 0x74], ecx
je 0x4ed79d0e
cmp dword [ebx + 0x78], ecx
mov dword [ebp - 0x1bc], 2
jne 0x4ed79d42
mov dword [ebp - 0x1bc], 0x42
jmp 0x4ed79d32
cmp dword [ebx + 0x7c], ecx
je 0x4ed79d1f
mov dword [ebp - 0x1bc], 5
jmp 0x4ed79d32
mov eax, dword [ebx + 0x78]
neg eax
sbb eax, eax
and eax, 0xffffffbe
add eax, 0x43
mov dword [ebp - 0x1bc], eax
cmp dword [ebx + 0x78], ecx
jne 0x4ed79d42
cmp dword [ebx + 0x7c], ecx
mov dword [ebp - 0x1d8], ecx
je 0x4ed79d4c
mov dword [ebp - 0x1d8], 1
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x260], eax
mov eax, dword [esi]
cmp eax, 2
jne 0x4ed79e2d
lea ecx, [esi - 0xc]
call fcn.4ec954a2
test eax, eax
je 0x4ed79ef7
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x31c]
call fcn.4ec58d1b
lea eax, [ebp - 0x31c]
push eax
add esi, 8
push esi
push eax
call fcn.4ec5ba87
fld1
fstp dword [ebp - 0x234]
push 2
fldz
lea eax, [ebp - 0x234]
fstp dword [ebp - 0x230]
push eax
fldz
lea ecx, [ebp - 0x31c]
fstp dword [ebp - 0x22c]
fld1
fstp dword [ebp - 0x228]
call fcn.4ec8614f
fld dword [ebp - 0x230]
fmul dword [ebp - 0x230]
push ecx
fld dword [ebp - 0x234]
fmul dword [ebp - 0x234]
faddp st(1)
fsqrt
fstp dword [esp]
call fcn.4ecec82f
fld dword [ebp - 0x228]
fmul dword [ebp - 0x228]
push ecx
fld dword [ebp - 0x22c]
mov dword [ebx + 0x18], eax
fmul dword [ebp - 0x22c]
faddp st(1)
fsqrt
fstp dword [esp]
call fcn.4ecec82f
mov dword [ebx + 0x1c], eax
jmp 0x4ed79ef7
cmp eax, 1
jne 0x4ed79e59
fld dword [edi + 0x14]
push ecx
fmul dword [0x4eca085c]
fstp dword [esp]
call fcn.4ecfe304
mov dword [ebx + 0x18], eax
fld dword [edi + 0x18]
fmul dword [0x4eca085c]
push ecx
fstp dword [esp]
jmp 0x4ed79ede
mov eax, dword [ebp - 0x1e0]
cmp eax, ecx
je 0x4ed79ef7
cmp eax, 1
je 0x4ed79ee8
cmp eax, 2
je 0x4ed79ed7
jle 0x4ed79ef7
cmp eax, 5
jg 0x4ed79ef7
mov edi, dword [ebp - 0x1d4]
fild dword [edi + 8]
push ecx
fmul dword [0x4ece8b08]
fstp dword [esp]
call fcn.4ecfe31e
mov dword [ebx + 0x18], eax
fild dword [edi + 0xc]
push ecx
fmul dword [0x4ece8b08]
fstp dword [esp]
call fcn.4ecfe31e
cmp dword [ebp - 0x1e0], 3
mov dword [ebx + 0x1c], eax
je 0x4ed79ef7
lea ecx, [esi - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
mov dword [ebp - 0x204], eax
je 0x4ed79ef7
and dword [eax + 8], 0
mov dword [eax + 0x14c], 0x3f866666
jmp 0x4ed79ef7
fld dword [edi + 0x18]
push ecx
fstp dword [esp]
call fcn.4ecfe304
jmp 0x4ed79e25
fld dword [edi + 0x14]
push ecx
fstp dword [esp]
call fcn.4ecfe304
mov dword [ebx + 0x18], eax
xor eax, eax
inc eax
cmp dword [ebx + 0x18], eax
jge 0x4ed79f02
mov dword [ebx + 0x18], eax
cmp dword [ebx + 0x1c], eax
jge 0x4ed79f0a
mov dword [ebx + 0x1c], eax
mov edi, dword [ebx + 0x18]
cmp edi, eax
jne 0x4ed79f44
mov ecx, dword [ebx + 0x1c]
cmp ecx, eax
jne 0x4ed79f44
mov eax, dword [ebp - 0x2ac]
mov esi, dword [ebp - 0x2a4]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x218], eax
jmp 0x4ed79fa1
mov eax, dword [ebp - 0x2ac]
cdq
idiv edi
mov ecx, dword [ebx + 0x1c]
imul eax, edi
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x2a8]
mov esi, edx
cdq
idiv ecx
imul eax, ecx
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x2a4]
add esi, eax
mov eax, dword [ebp - 0x2a0]
add edx, eax
mov dword [ebp - 0x218], edx
mov eax, esi
cdq
idiv edi
mov eax, edi
sub eax, edx
add esi, eax
mov eax, dword [ebp - 0x218]
cdq
idiv ecx
mov eax, ecx
sub eax, edx
add dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x224]
cdq
idiv edi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x220]
cdq
idiv ecx
mov dword [ebp - 0x280], eax
mov eax, esi
cdq
idiv edi
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x218]
cdq
idiv ecx
cmp dword [ebp - 0x1dc], 0
mov dword [ebp - 0x278], eax
je 0x4ed7a086
fild dword [ebp - 0x224]
push ecx
fidiv dword [ebx + 0x108]
fstp dword [esp]
call fcn.4ecfe31e
fild dword [ebp - 0x220]
push ecx
mov dword [ebp - 0x224], eax
fidiv dword [ebx + 0x10c]
fstp dword [esp]
call fcn.4ecfe31e
fild dword [ebp - 0x21c]
push ecx
mov dword [ebp - 0x220], eax
fidiv dword [ebx + 0x108]
fstp dword [esp]
call fcn.4ecfe31e
fild dword [ebp - 0x218]
push ecx
mov dword [ebp - 0x21c], eax
fidiv dword [ebx + 0x10c]
fstp dword [esp]
call fcn.4ecfe31e
fild dword [ebx + 0x10c]
push 1
push ecx
push ecx
fdivr dword [0x4ec58574]
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x218], eax
fstp dword [esp + 4]
fild dword [ebx + 0x108]
fdivr dword [0x4ec58574]
fstp dword [esp]
call fcn.4ec5bb50
mov ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x2c8]
push eax
call fcn.4ec59cfa
fild dword [ebx + 0x1c]
push 1
push ecx
fdivr dword [0x4ec58574]
push ecx
mov ecx, dword [ebp - 0x1c0]
fstp dword [esp + 4]
fild dword [ebx + 0x18]
fdivr dword [0x4ec58574]
fstp dword [esp]
call fcn.4ec5bb50
mov ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x23c]
push eax
call fcn.4ec59cfa
mov esi, dword [ebp - 0x1c8]
xor edi, edi
push 2
mov dword [esi + 0xf4], edi
lea eax, [ebp - 0x25c]
pop ecx
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax]
add eax, 8
dec ecx
jne 0x4ed7a0e9
fild dword [ebp - 0x284]
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x27c]
add ecx, eax
mov eax, dword [ebp - 0x280]
fstp dword [ebp - 0x25c]
fild dword [ebp - 0x280]
mov dword [ebp - 0x1cc], ecx
mov ecx, dword [ebp - 0x278]
add ecx, eax
fstp dword [ebp - 0x258]
fild dword [ebp - 0x1cc]
mov dword [ebp - 0x1cc], ecx
lea ecx, [ebp - 0x41c]
fstp dword [ebp - 0x254]
fild dword [ebp - 0x1cc]
fstp dword [ebp - 0x250]
call fcn.4ec582f0
lea eax, [ebp - 0x41c]
push eax
mov ecx, esi
call fcn.4ed1e7a9
push 2
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x41c]
call fcn.4ec51bba
fld dword [ebp - 0x254]
fsub dword [ebp - 0x25c]
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x258]
fst dword [ebp - 0x26c]
mov dword [ebp - 0x270], eax
fld dword [ebp - 0x250]
fsub dword [ebp - 0x258]
fstp dword [ebp - 0x268]
fcom dword [0x4ec51544]
fnstsw ax
test ah, 5
jp 0x4ed7a1de
fld dword [ebp - 0x25c]
fadd st(1)
fstp dword [ebp - 0x274]
fchs
fstp dword [ebp - 0x26c]
jmp 0x4ed7a1e0
fstp st(0)
fld dword [ebp - 0x268]
fcomp dword [0x4ec51544]
fnstsw ax
test ah, 5
jp 0x4ed7a213
fld dword [ebp - 0x268]
fadd dword [ebp - 0x258]
fstp dword [ebp - 0x270]
fld dword [ebp - 0x268]
fchs
fstp dword [ebp - 0x268]
mov eax, dword [ebx]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x284]
push ecx
push esi
mov ecx, ebx
call dword [eax + 0x50]
push dword [ebp - 0x1e8]
push esi
call fcn.4ed770ed
cmp eax, edi
mov dword [ebp - 0x1e0], eax
je 0x4ed7a4b8
push dword [ebx + 0x1c]
lea eax, [ebx + 0xac]
push dword [ebx + 0x18]
lea ecx, [ebx + 0x9c]
push dword [ebp - 0x1bc]
push eax
push ecx
mov ecx, dword [ebp - 0x1f0]
call fcn.4ed6eb98
cmp eax, edi
mov dword [ebp - 0x1d0], eax
jne 0x4ed7a4a8
cmp dword [ebp - 0x1d8], edi
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1c8], edi
je 0x4ed7a2ad
push edi
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x1cc]
push eax
push dword [ebp - 0x1d4]
mov ecx, ebx
push esi
push dword [ebp - 0x1e0]
call fcn.4ed7886d
cmp dword [ebx + 0x8c], edi
mov dword [ebx + 0x88], edi
jle 0x4ed7a47c
mov eax, dword [ebp - 0x1bc]
and eax, 0x1d
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], edi
je 0x4ed7a365
push 0
lea eax, [ebx + 0x9c]
lea edi, [esi + 0xf8]
push eax
mov ecx, edi
call fcn.4ed775c5
mov ecx, dword [ebp - 0x1c0]
and dword [esi + 0xf4], 0
lea eax, [ebp - 0x23c]
push eax
call fcn.4ec96d07
mov ecx, dword [ebp - 0x1f0]
lea eax, [ebx + 0x9c]
push eax
push 0
call fcn.4ed6f93d
cmp dword [ebp - 0x204], 0
je 0x4ed7a331
mov eax, dword [ebp - 0x204]
add eax, 0xc
jmp 0x4ed7a337
mov eax, dword [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x274]
push eax
push 1
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x1e8]
mov ecx, ebx
push esi
call fcn.4ec52a24
mov ecx, edi
mov dword [ebp - 0x1d0], eax
call fcn.4ed7704b
xor edi, edi
mov ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x2c8]
push eax
mov dword [esi + 0xf4], edi
call fcn.4ec96d07
cmp dword [ebp - 0x1d0], edi
jne 0x4ed7a47c
test byte [ebp - 0x1bc], 0x62
je 0x4ed7a417
mov ecx, dword [ebp - 0x1c4]
cmp dword [ecx], 1
jne 0x4ed7a3af
mov eax, dword [ebx + 0x18]
cmp eax, 1
je 0x4ed7a3af
mov dword [ecx + 0x114], eax
push 1
lea edi, [ebx + 0xac]
push edi
lea ecx, [esi + 0xf8]
call fcn.4ed7751d
mov ecx, dword [ebp - 0x1f0]
push edi
push 1
call fcn.4ed6f93d
mov edi, dword [ebp - 0x1c4]
push edi
push dword [ebp - 0x1e4]
mov ecx, ebx
push dword [ebp - 0x1d4]
push dword [ebp - 0x1e8]
push esi
call fcn.4ec662a9
cmp dword [edi], 1
mov dword [ebp - 0x1d0], eax
jne 0x4ed7a40d
xor eax, eax
inc eax
cmp dword [ebx + 0x18], eax
je 0x4ed7a40d
mov ecx, edi
mov dword [ecx + 0x114], eax
xor edi, edi
cmp dword [ebp - 0x1d0], edi
jne 0x4ed7a47c
push dword [ebp - 0x1e4]
mov edx, dword [ebx]
lea eax, [ebx + 0xac]
push eax
lea eax, [ebx + 0x9c]
push eax
push dword [ebp - 0x1e8]
mov ecx, ebx
push esi
push dword [ebp - 0x1e0]
call dword [edx + 0x80]
cmp eax, edi
mov dword [ebp - 0x1d0], eax
jne 0x4ed7a47c
mov eax, dword [ebx + 0x94]
add dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x90]
add dword [ebx + 0xb0], eax
inc dword [ebx + 0x88]
mov eax, dword [ebx + 0x88]
cmp eax, dword [ebx + 0x8c]
jl 0x4ed7a2ce
cmp dword [ebp - 0x1d8], edi
je 0x4ed7a49d
push dword [ebp - 0x1c8]
mov ecx, ebx
push dword [ebp - 0x1cc]
push dword [ebp - 0x1e0]
call fcn.4ed76f9c
mov ecx, dword [ebp - 0x1f0]
call fcn.4ed6eb19
push edi
push dword [ebp - 0x1e0]
mov ecx, esi
call fcn.4ec59d6c
jmp 0x4ed7a4d0
mov ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x2c8]
push eax
mov dword [esi + 0xf4], edi
call fcn.4ec96d07
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x54]
cmp dword [ebp - 0x1dc], edi
je 0x4ed7a4f8
mov ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x46c]
push eax
mov dword [esi + 0xf4], edi
call fcn.4ec51a55
mov ecx, dword [ebp - 0x204]
cmp ecx, edi
je 0x4ed7a508
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x2b0]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x260]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ecfd994
leave
ret 0x14