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

Disassembly:
mov eax, dword [esi + 0x54]
sub esp, 0x78
push ebx
push ebp
push edi
xor edi, edi
cmp eax, edi
je 0x4ee6d6
mov al, byte [esi + 0xa0]
test al, al
je 0x4ee6d6
mov eax, dword [0x72ed78]
mov eax, dword [eax + 0xc0]
cmp eax, edi
je 0x4ee6d6
jmp 0x4ee070
mov eax, dword [esp + 0x48]
lea ebx, [ebx]
mov edx, dword [eax]
fild dword [esi + 0x6c]
mov ebp, dword [eax + 8]
lea ecx, [eax + 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x90]
mov eax, dword [esi + 0x6c]
test eax, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
jge 0x4ee0a7
fadd dword [0x715568]
fsub dword [0x70deb0]
mov ecx, dword [esi + 0x70]
test ecx, ecx
fmul dword [esi + 0x84]
fadd dword [esp + 0x28]
fstp dword [esp + 0x38]
fild dword [esi + 0x70]
jge 0x4ee0cb
fadd dword [0x715568]
fsub dword [0x70deb0]
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [esp + 0x30], eax
fmul dword [esi + 0x88]
mov dword [esp + 0x24], edx
fsubr dword [esp + 0x2c]
fstp dword [esp + 0x3c]
fld dword [ebp + 8]
fcomp dword [0x715554]
fnstsw ax
test ah, 5
jp 0x4ee10d
push edi
mov ecx, ebp
mov eax, esi
call fcn.00514750
fstp dword [esp + 0x44]
jmp 0x4ee114
mov ecx, dword [ebp + 8]
mov dword [esp + 0x44], ecx
fld dword [esp + 0x30]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x4ee6c8
fld dword [esp + 0x30]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jp 0x4ee6c8
fld dword [esp + 0x24]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x4ee6c8
fld dword [esp + 0x24]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jp 0x4ee6c8
mov al, byte [ebp + 0x18]
test al, al
jne 0x4ee6c8
fld dword [esp + 0x24]
lea edx, [esp + 0x60]
fsub dword [esp + 0x28]
push edx
fld dword [ebp + 0xc]
sub esp, 8
fmul dword [0x715764]
fsubp st(1)
fdiv dword [esi + 0x84]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_modf]
fcom qword [0x7155a8]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x4ee1d8
fcomp qword [0x7155f8]
fnstsw ax
test ah, 5
jp 0x4ee1c5
mov edi, 1
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
fsubr qword [esp + 0x60]
jmp 0x4ee1fe
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
mov edi, 1
fsubr qword [esp + 0x60]
jmp 0x4ee1fe
fcomp qword [0x7155f0]
mov dword [esp + 0x3c], 1
fnstsw ax
test ah, 0x41
je 0x4ee1f1
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
mov edi, 1
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
call fcn.005f275c
fld dword [esp + 0x2c]
fsub dword [esp + 0x30]
mov ebx, eax
fld dword [ebp + 0xc]
lea eax, [esp + 0x68]
fmul dword [0x715764]
push eax
sub esp, 8
mov dword [esp + 0x24], ebx
fsubp st(1)
fdiv dword [esi + 0x88]
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_modf]
fcom qword [0x7155a8]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x4ee26e
fcomp qword [0x7155f8]
mov dword [esp + 0x3c], edi
fnstsw ax
test ah, 5
jnp 0x4ee264
mov dword [esp + 0x3c], 0
fild dword [esp + 0x3c]
fsubr qword [esp + 0x68]
jmp 0x4ee28f
fcomp qword [0x7155f0]
mov dword [esp + 0x3c], edi
fnstsw ax
test ah, 0x41
je 0x4ee287
mov dword [esp + 0x3c], 0
fild dword [esp + 0x3c]
fadd qword [esp + 0x68]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
call fcn.005f275c
fld dword [ebp + 0xc]
fmul dword [0x715760]
lea ecx, [esp + 0x70]
push ecx
sub esp, 8
fdiv dword [esi + 0x84]
mov dword [esp + 0x20], eax
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_modf]
fcom qword [0x7155a8]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x4ee2f3
fcomp qword [0x7155f8]
mov dword [esp + 0x3c], edi
fnstsw ax
test ah, 5
jnp 0x4ee2e9
mov dword [esp + 0x3c], 0
fild dword [esp + 0x3c]
fsubr qword [esp + 0x70]
jmp 0x4ee314
fcomp qword [0x7155f0]
mov dword [esp + 0x3c], edi
fnstsw ax
test ah, 0x41
je 0x4ee30c
mov dword [esp + 0x3c], 0
fild dword [esp + 0x3c]
fadd qword [esp + 0x70]
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
call fcn.005f275c
fld dword [ebp + 0xc]
fmul dword [0x715760]
lea edx, [esp + 0x78]
push edx
mov edi, eax
fdiv dword [esi + 0x88]
sub esp, 8
mov dword [esp + 0x1c], edi
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_modf]
fcom qword [0x7155a8]
add esp, 0xc
fnstsw ax
test ah, 5
jp 0x4ee37e
fcomp qword [0x7155f8]
mov dword [esp + 0x3c], 1
fnstsw ax
test ah, 5
jnp 0x4ee374
mov dword [esp + 0x3c], 0
fild dword [esp + 0x3c]
fsubr qword [esp + 0x78]
jmp 0x4ee3a3
fcomp qword [0x7155f0]
mov dword [esp + 0x3c], 1
fnstsw ax
test ah, 0x41
je 0x4ee39b
mov dword [esp + 0x3c], 0
fild dword [esp + 0x3c]
fadd qword [esp + 0x78]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
call fcn.005f275c
cmp ebx, 1
mov dword [esp + 0x1c], eax
jge 0x4ee3c3
mov dword [esp + 0x18], 1
jmp 0x4ee3ce
mov ecx, dword [esi + 0x6c]
cmp ebx, ecx
jle 0x4ee3d2
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp edx, 1
jge 0x4ee3e5
mov dword [esp + 0x14], 1
jmp 0x4ee3f0
mov ecx, dword [esi + 0x70]
cmp edx, ecx
jle 0x4ee3f4
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
test edi, edi
jge 0x4ee402
mov dword [esp + 0x10], 0
jmp 0x4ee412
mov ecx, dword [esi + 0x6c]
sub ecx, ebx
add ecx, 0xfffffffe
cmp edi, ecx
jle 0x4ee416
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x10]
test eax, eax
jge 0x4ee424
mov dword [esp + 0x1c], 0
jmp 0x4ee434
mov ecx, dword [esi + 0x70]
sub ecx, edx
add ecx, 0xfffffffe
cmp eax, ecx
jle 0x4ee438
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
test edi, edi
je 0x4ee6c8
test eax, eax
je 0x4ee6c8
mov word [ebp + 0x12], di
mov edi, eax
imul edi, dword [esp + 0x10]
push edi
mov byte [ebp + 0x18], 1
mov word [ebp + 0x10], bx
mov word [ebp + 0x14], dx
mov word [ebp + 0x16], ax
call fcn.005354dd
mov dword [ebp + 0x1c], eax
lea eax, [edi + edi*2]
add esp, 4
push eax
call fcn.005354dd
mov ecx, dword [esp + 0x14]
add ecx, ebx
add esp, 4
cmp ebx, ecx
mov dword [ebp + 0x20], eax
mov ebp, ebx
mov dword [esp + 0x5c], ecx
jge 0x4ee6c8
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea eax, [edx + edi]
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], 0
lea esp, [esp]
cmp edi, eax
jge 0x4ee6b4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
mov dword [esp + 0x38], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x54]
imul edx, edi
mov ecx, dword [esp + 0x38]
sub ecx, ebx
mov ebx, dword [esp + 0x40]
mov ebx, dword [ebx + 0x1c]
add edx, ebp
mov dl, byte [edx + eax]
add ecx, ebp
mov byte [ecx + ebx], dl
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x5c]
imul eax, edi
mov ebx, dword [esp + 0x40]
mov edx, dword [ebx + 0x20]
add eax, ebp
lea eax, [eax + eax*2]
mov al, byte [eax + ecx]
mov ecx, dword [esp + 0x20]
mov byte [ecx + edx], al
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebx + 0x20]
imul eax, edi
add eax, ebp
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x5c]
mov dl, byte [edx + eax + 1]
mov eax, dword [esp + 0x20]
mov byte [ecx + eax + 1], dl
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x5c]
imul eax, edi
add eax, ebp
lea ecx, [eax + eax*2]
mov cl, byte [ecx + edx + 2]
mov eax, dword [ebx + 0x20]
mov edx, dword [esp + 0x20]
mov byte [eax + edx + 2], cl
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x54]
imul eax, edi
add eax, ebp
movzx edx, byte [eax + ecx]
mov eax, dword [0x72ed78]
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
fcomp dword [eax + 0x44]
fnstsw ax
test ah, 0x41
jne 0x4ee67f
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov eax, ebp
sub eax, edx
sub eax, dword [esp + 0x18]
jns 0x4ee5a0
neg eax
test ecx, ecx
jge 0x4ee5a6
neg ecx
cmp eax, ecx
jle 0x4ee5af
lea eax, [ecx + eax*2]
jmp 0x4ee5b2
lea eax, [eax + ecx*2]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
fmul dword [esi + 0x84]
fstp dword [esp + 0x34]
fld dword [ebx + 0xc]
fadd st(0), st(0)
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 5
jnp 0x4ee67f
fld dword [esp + 0x44]
mov eax, dword [0x72ed78]
fdiv dword [esi + 0x8c]
fadd dword [eax + 0x44]
call fcn.005f275c
fld dword [esp + 0x34]
mov edx, dword [esi + 0x6c]
fcomp dword [ebx + 0xc]
imul edx, edi
mov cl, al
add edx, ebp
fnstsw ax
test ah, 5
mov eax, dword [esi + 0x54]
jp 0x4ee614
mov byte [edx + eax], cl
jmp 0x4ee647
fld dword [esp + 0x34]
add eax, edx
fsub dword [ebx + 0xc]
movzx edx, byte [eax]
movzx ecx, cl
fdiv dword [ebx + 0xc]
sub edx, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
fimul dword [esp + 0x34]
fiadd dword [esp + 0x4c]
call fcn.005f275c
mov ecx, dword [esp + 0x50]
mov byte [ecx], al
mov eax, dword [esi + 0x6c]
imul eax, edi
add eax, ebp
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x5c]
mov byte [edx + eax], 0x80
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x5c]
imul eax, edi
add eax, ebp
lea ecx, [eax + eax*2]
mov byte [ecx + edx + 1], 0x80
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x5c]
imul eax, edi
add eax, ebp
lea eax, [eax + eax*2]
mov byte [eax + ecx + 2], 0xff
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add ebx, edx
mov edx, dword [esp + 0x38]
add edx, eax
mov eax, dword [esp + 0x58]
inc edi
cmp edi, eax
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
jl 0x4ee4d3
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
inc ebp
add edx, 3
cmp ebp, ecx
mov dword [esp + 0x3c], edx
jl 0x4ee4b0
mov eax, dword [esp + 0x48]
xor edi, edi
cmp eax, edi
jne 0x4ee066
pop edi
pop ebp
pop ebx
add esp, 0x78
ret