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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebx], 0x407c28
mov eax, dword [edx]
mov dword [ebx + 0x20], eax
mov eax, dword [edx + 4]
push esi
mov dword [ebx + 4], eax
mov eax, dword [edx + 8]
push edi
mov dword [ebx + 0x60], eax
mov eax, dword [edx + 0xc]
push 6
mov dword [ebx + 0x64], eax
lea edi, [ebx + 0x3c]
lea esi, [edx + 0x28]
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [edx + 0x40], esi
mov eax, 0x733590
jne 0x50dbd6
mov eax, 0x733510
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0xc]
shr eax, 3
mov dword [ebp + 8], eax
mov dword [ebx + 0x78], eax
xor eax, eax
cmp dword [ebp + 0xc], esi
mov dword [ebx + 0x54], esi
setne al
mov dword [ebx + 0x58], esi
mov dword [ebp - 4], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 8], eax
mov eax, dword [edx + 0x4c]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
cmp eax, 0x29
je 0x50dc16
cmp eax, 0x28
je 0x50dc16
xor eax, eax
jmp 0x50dc19
xor eax, eax
inc eax
cmp dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x38], esi
mov eax, dword [edx + 0x48]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x5c], esi
je 0x50dc89
mov ecx, dword [edx + 0x4c]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [ebp + 0xc], eax
mov eax, ecx
shr eax, 8
fild dword [ebp + 0xc]
movzx eax, al
fld qword [0x4014d0]
fmul st(1), st(0)
mov dword [ebp + 0xc], eax
fxch st(1)
movzx eax, cl
fstp dword [ebp - 0x14]
fild dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
shr ecx, 0x18
lea edi, [ebx + 0x24]
fmul st(1)
lea esi, [ebp - 0x14]
fstp dword [ebp - 0x10]
fild dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
fmul st(1)
fstp dword [ebp - 0xc]
fild dword [ebp + 0xc]
fmulp st(1)
fstp dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebp + 0x10], 2
jne 0x50dc98
cmp dword [ebx + 4], 0x3d
je 0x50dca1
mov dword [ebx + 0x10], esi
cmp dword [ebp + 0x10], 3
jne 0x50dca1
mov dword [ebx + 0x10], esi
mov esi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
mov edi, dword [ebx + 0x48]
sub eax, esi
mov dword [ebx + 0x68], eax
imul eax, dword [ebp + 8]
sub edi, ecx
mov ecx, dword [ebx + 0x4c]
mov dword [ebx + 0x6c], edi
mov edi, dword [ebx + 0x50]
mov dword [ebx + 0x74], eax
sub edi, ecx
xor eax, eax
cmp dword [ebp - 4], eax
mov dword [ebx + 0x70], edi
je 0x50dd05
mov eax, dword [ebx + 0x60]
imul esi, dword [ebp + 8]
imul eax, dword [ebx + 0x40]
mov edi, dword [ebx + 0x64]
imul edi, ecx
mov ecx, dword [ebx + 0x68]
add eax, edi
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebx + 0x6c]
add eax, esi
add dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x48], ecx
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], ecx
cmp dword [edx + 0x44], eax
je 0x50dd41
mov esi, dword [ebx + 0x68]
inc esi
inc esi
xor ecx, ecx
push 0x10
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebx + 0x5c], eax
je 0x50dd41
mov ecx, dword [ebx + 0x68]
inc ecx
inc ecx
shl ecx, 4
push ecx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc